Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Feb 1, 2024
1 parent 2a119ff commit d9599d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proc-waitpid-hang.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def main():
def _proc_stat_worker():
while True:
proc = psutil.Process()
# Via psutil ppid_map(), this will iterate through all procs of the system,
# and check /proc/<pid>/stat for each proc.
# We had cases where this hangs, and it might be because of our own subprocess.
proc.children()


Expand Down

0 comments on commit d9599d4

Please sign in to comment.