httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48981] New: FcgidMaxProcesses is not honoured
Date Wed, 24 Mar 2010 21:57:20 GMT
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: bugs@httpd.apache.org
        ReportedBy: erno.kovacs@freemail.hu


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message