Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 11259 invoked from network); 24 Mar 2010 21:57:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 21:57:44 -0000 Received: (qmail 1284 invoked by uid 500); 24 Mar 2010 21:57:44 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 1097 invoked by uid 500); 24 Mar 2010 21:57:43 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 1080 invoked by uid 99); 24 Mar 2010 21:57:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 21:57:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 21:57:41 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 8BD11234C4CB; Wed, 24 Mar 2010 21:57:20 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 48981] New: FcgidMaxProcesses is not honoured X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_fcgid X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: erno.kovacs@freemail.hu X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 24 Mar 2010 21:57:20 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org 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