https://issues.apache.org/bugzilla/show_bug.cgi?id=48981
Summary: FcgidMaxProcesses is not honoured
Product: Apache httpd-2
Version: 2.2.15
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_fcgid
AssignedTo: [email protected]
ReportedBy: [email protected]
I am using Apache/2.2.15 (Unix) with mpm worker and mod_fcgid 2.3.5, server
keeps spawning new php processes though FcgidMaxProcesses is set to 2.
Relevant config entries:
# MPM:
MaxClients 400
ServerLimit 16
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 10000
# FCGID:
LoadModule fcgid_module modules/mod_fcgid.so
FcgidBusyScanInterval 60
FcgidBusyTimeout 300
FcgidMaxRequestsPerProcess 10000
FcgidFixPathinfo 1
AddHandler fcgid-script .php
FcgidIdleTimeout 300
FcgidProcessLifetime 3600
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 10000
FcgidInitialEnv PHP_FCGI_CHILDREN 0
FcgidWrapper "/usr/local/phpw3/bin/php-cgi -c /usr/local/apache/conf/php.ini"
.php
FcgidMaxProcesses 2
FcgidMaxProcessesPerClass 2
FcgidPassHeader Authorization
# ps aux|grep php|grep w3|wc -l
17
And it is increasing every time when the client request a .php page.
I have only 4 running httpd processes, which means even if FcgidMaxProcesses is
a per Apache process setting (I assume it is), it should limit the number of
spawned php processes to 8.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]