For the proper way to reap children, consult perlman:perlipc. The section on "Signals" is near the top of the document, and describes how to set up a SIGCHLD handler to correctly account for the death of a child process.
If you don't handle SIGCHLD correctly, you could be getting blocked on wait().
In reply to Re: fork()ing a large process
by dws
in thread fork()ing a large process
by Jonathan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |