Question regarding <defunct> processes

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Apr 14 07:02:07 AEST 1990


In article <413 at servio.UUCP> penneyj at servio.UUCP (D. Jason Penney) writes:
>Oh, the astonishing things that happen in pUnyx.  What you're struggling with
>is the infamous "SIGCHLD" problem.  To allow a process to complete its
>death, you must trap the SIGCHLD signal and then do a wait() to clear it.

Wrong.
It is not necessary to trap SIGCHLD to reap zombies.
In fact I don't recommend relying on weird SIGCLD/SIGCHLD semantics
for any purpose whatsoever.
I emailed the original requestor a proper explanation and solutions.



More information about the Comp.unix.questions mailing list