httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48981] New: FcgidMaxProcesses is not honoured
Date Wed, 24 Mar 2010 21:57:20 GMT

           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

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

LoadModule fcgid_module modules/

FcgidBusyScanInterval 60
FcgidBusyTimeout 300
FcgidMaxRequestsPerProcess 10000
FcgidFixPathinfo 1
AddHandler fcgid-script .php
FcgidIdleTimeout 300
FcgidProcessLifetime 3600
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 10000
FcgidWrapper "/usr/local/phpw3/bin/php-cgi -c /usr/local/apache/conf/php.ini"
FcgidMaxProcesses 2
FcgidMaxProcessesPerClass 2
FcgidPassHeader Authorization

# ps aux|grep php|grep w3|wc -l

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message