in reply to Possible waitpid problem - pid reuse?
The exited child processes will hang around in Z[ombie] state until wait or waitpid collects their exit status. That means their pid is still in use until you release it.
The exception occurs when you have a $SIG{CHLD} handler. That makes the system think you've handled it already. On some systems you can make nobody care what happens to the kids by setting the handler to 'IGNORE', but that's clearly not your situation.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Possible waitpid problem - pid reuse?
by Anonymous Monk on Sep 13, 2004 at 11:28 UTC |