Richard Lynch wrote:
On Tue, May 2, 2006 11:29 am, Oz wrote:
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.)
I believe that if you installed my perror extension:
http://l-i-e.com/perror/
heh cool - I saw your posts to internals regarding trying to write
an extension, seems you got a result :-)
you would be able to easily print out the error message corresponding
to 11.
I suppose you could be old-school and just use a shell with:
perror 11
but that is not nearly as much fun.
ah but you just did teach *me* something new :-)
PS
"My amp goes to 11."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php