Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zombie tracking to test suite #251

Open
goodboy opened this issue Oct 23, 2021 · 0 comments
Open

Add zombie tracking to test suite #251

goodboy opened this issue Oct 23, 2021 · 0 comments

Comments

@goodboy
Copy link
Owner

goodboy commented Oct 23, 2021

Been doing this manually for a while but we need an autouse fixture which just always checks this and fails the suite on a leak.

Though this is likely not an issue after the work in #245, work in the zombie_lord_infinite branch (as is) will need this in order to get clean CI runs and zero zombies (that branch is very WIP nursery / supervisor rework).

todo:

  • psutil can do it easily with following snippet:
import psutil
 for proc in psutil.process_iter():
     line = proc.cmdline()
     name = proc.name()
     if (
         'tractor._child' in line
     ):
         print(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant