in reply to Understanding fork + wait
How many child processes are you forking off? All systems I know of impose a limit in the number of children a process can have (except if it's owned by root). Some also limit the number of processes a user can have. The specific number varies by system.
If you are going over the limit, you'll need to impose a throttle. For example, if the number of children exceeds some high water mark, don't go into the accept, but do a blocking wait until the number drops.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Understanding fork + wait
by jplindstrom (Monsignor) on Oct 29, 2002 at 17:07 UTC | |
by agentv (Friar) on Oct 29, 2002 at 17:56 UTC |