#27917 [Opn->Ver]: [PCNTL] Child process can't be generated, Parent process dies.
| From: | sniper@php.net | Date: | Thu, 08 Apr 2004 08:18:23 +0000 |
| Subject: | #27917 [Opn->Ver]: [PCNTL] Child process can't be generated, Parent process dies. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57759@lists.php.net to get a copy of this message | ||
ID: 27917
Updated by: sniper@php.net
Reported By: s dot masugata at digicom dot dnp dot co dot jp
-Status: Open
+Status: Verified
Bug Type: Unknown/Other Function
Operating System: *
-PHP Version: 4CVS-2004-04-08 (stable)
+PHP Version: 4CVS, 5CVS (2004-04-08)
Previous Comments:
------------------------------------------------------------------------
[2004-04-08 04:13:24] s dot masugata at digicom dot dnp dot co dot jp
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 this bug report at http://bugs.php.net/?id=27917&edit=1