in reply to rsh <defunct> processes appear when using fork and system calls
When Hell's Disk Is Full, Zombie Processes Shall Rise And Walk The Face Of The ...
You need to wait for your children from time to time, so they don't become zombies. Basically, keep a list of the PIDs of your children, spawn them all and then wait until they're all finished. Or do it with a signal handler. See perlipc for more information.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: rsh <defunct> processes appear when using fork and system calls
by whatwhat (Novice) on Aug 06, 2007 at 13:42 UTC |