From:             s dot masugata at digicom dot dnp dot co dot jp
Operating system: ALL
PHP version:      4CVS-2004-04-08 (stable)
PHP Bug Type:     Unknown/Other Function
Bug description:  Child process can't be generated, Parent process dies.

Description:
------------
When generation of a child process is repeated repeatedly and more than
this and a child process cannot be generated, a parent process will die.



It seems that a snapshot isn't changed.



--- php-4.3.5/ext/pcntl/pcntl.c Fri Jan 23 16:02:54 2004

+++ ./pcntl.c   Thu Apr  8 16:17:39 2004

@@ -189,7 +189,7 @@

 

        id = fork();

        if (id == -1) {

-               php_error(E_ERROR, "Error %d in %s", errno,
get_active_function_name(TSRMLS_C));

+               php_error(E_NOTICE, "Error %d in %s", errno,
get_active_function_name(TSRMLS_C));

        }

        

        RETURN_LONG((long) id);




-- 
Edit bug report at http://bugs.php.net/?id=27917&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27917&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27917&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27917&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27917&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27917&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27917&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27917&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27917&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27917&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27917&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27917&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27917&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27917&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27917&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27917&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27917&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27917&r=float

Reply via email to