#27802 [Opn->Csd]: FastCGI PHP_FCGI_CHILDREN default unstable and undocumented.
| From: | iliaa@php.net | Date: | Wed, 31 Mar 2004 16:52:20 +0000 |
| Subject: | #27802 [Opn->Csd]: FastCGI PHP_FCGI_CHILDREN default unstable and undocumented. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57236@lists.php.net to get a copy of this message | ||
ID: 27802
Updated by: iliaa@php.net
Reported By: tom at hur dot st
-Status: Open
+Status: Closed
Bug Type: CGI related
Operating System: FreeBSD 4.9-STABLE
PHP Version: 4.3.5
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-03-31 09:01:51] tom at hur dot st
Description:
------------
If you don't set the env variable PHP_FCGI_CHILDREN, PHP doesn't
default to 8 as README.FastCGI suggests; it doesn't bother spawning
extra processes at all (default is 0). After PHP_FCGI_MAX_REQUESTS,
PHP segfaults.
No apparant useful information from core or ktrace, other than seeing
that it's not forking and falling over after exactly
PHP_FCGI_MAX_REQUESTS; the fix looks fairly easy, though.. except maybe
at children = 0 :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27802&edit=1