Re: What means "Fatal error: pcntl_fork(): Error 11"?

From: Date: Tue, 02 May 2006 17:17:04 +0000
Subject: Re: What means "Fatal error: pcntl_fork(): Error 11"?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-235285@lists.php.net to get a copy of this message
On 02/05/06, Oz <hellabri@gmail.com> wrote:
Hi, My script dies with the following line (after a few hours running without other errors/warnings/notices): Fatal error: pcntl_fork(): Error 11 in /home/foo/bar.php on line 297 Is there any documentation for "pcntl_fork(): Error 11"? Does anybody know what causes "pcntl_fork(): Error 11"? (It's PHP5 and the scripts source is top secret.)
The 11 is from errno.h and it corresponds to EAGAIN. From the docs for fork()
The fork() function shall fail if: [EAGAIN]
    The system lacked the necessary resources to create another process, or
     the system-imposed limit on the total number of processes under execution
     system-wide or by a single user {CHILD_MAX} would be exceeded.
Does that help? -robin

« previous php.general (#235285) next »