You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presumably, I am missing something, but I haven't been able to put my finger on it. During testing and intentionally trying to not await spawn()'d processes I have been unable to create zombie processes, but during long-running tests I eventually get defunct rsync processes.
Everything is immediately await'd and I even tried not awaying and just dropping the variable. I am not seeing how I end up with defunct processes.
Using ps -ejf I see my main process PID 1 since in a container and then PPID of all the defunct rsync processes of 1. The main processes spawns thousands of rsync calls over the course of hours...almost all of which work and are cleaned up, but for some reason I end up with some that don't.
The text was updated successfully, but these errors were encountered:
boombatower
changed the title
Question: How is it possible to end up with defunct processing using async_process::Command with the default reap_on_drop?
Question: How is it possible to end up with defunct proceses using async_process::Command with the default reap_on_drop?
Jan 10, 2025
Presumably, I am missing something, but I haven't been able to put my finger on it. During testing and intentionally trying to not await spawn()'d processes I have been unable to create zombie processes, but during long-running tests I eventually get defunct rsync processes.
Everything is immediately await'd and I even tried not awaying and just dropping the variable. I am not seeing how I end up with defunct processes.
Using
ps -ejf
I see my main process PID1
since in a container and then PPID of all the defunct rsync processes of1
. The main processes spawns thousands of rsync calls over the course of hours...almost all of which work and are cleaned up, but for some reason I end up with some that don't.What scenario would need to occur to cause this and perhaps I can sort out how I am pulling that off.
The text was updated successfully, but these errors were encountered: