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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/05/06, Oz <hellabri@xxxxxxxxx> 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux