>Apologies, my earlier email, item 2, pointed to emptyenv as the cause of
>zombie processes on FreeBSD 12.2S, actually it is due to background.
Ah, then everything is working as intended and there's no anomaly.
background spawns a process as a direct child, so if the parent execs
into a long-lived program that never reaps bastards (children it doesn't
know it has), then the zombie will hang around.
"background -d" was made for this situation, and will avoid the
zombie.
--
Laurent
Received on Sun Oct 04 2020 - 02:20:25 UTC