php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14940 FastCGI SAPI prefork a number of processes
Submitted: 2002-01-08 21:07 UTC Modified: 2002-10-26 01:00 UTC
Votes:2
Avg. Score:2.5 ± 1.5
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dennis at linuxwebserver dot org Assigned:
Status: No Feedback Package: Other web server
PHP Version: 4.1.1 OS: Debian (Potato)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-01-08 21:07 UTC] dennis at linuxwebserver dot org
php 4.1.1
fastcgi-dev 2.2.2
mod_fastcgi 2.2.12
Apache 1.3.20
Debian Potato


Problem:  
PHP_FCGI_CHILDREN environment variable does not seem to be read by php4.fcgi, resulting in 8 children being pre-forked every time the server is started (the default setting).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-17 06:54 UTC] joosters@php.net
Where are you setting the environment variable?
Are you setting it before starting Apache?
Are you using Apache to start php-fcgi, or is it
running separately?
 [2002-01-24 03:17 UTC] dennis at linuxwebserver dot org
PHP_FCGI_CHILDREN=5
export $PHP_FCGI_CHILDREN

Seems to happen with only mod_fastcgi.  Other fastcgi scripts load proper number of children, however...
 [2002-01-24 03:19 UTC] dennis at linuxwebserver dot org
...and sorry, yes, I am setting it before I start Apache...
 [2002-10-10 23:10 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Aug 20 00:05:46 2022 UTC