Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82BD211B91 for ; Sun, 8 Jun 2014 16:46:40 +0000 (UTC) Received: (qmail 11433 invoked by uid 500); 8 Jun 2014 16:46:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 11396 invoked by uid 500); 8 Jun 2014 16:46:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 11386 invoked by uid 99); 8 Jun 2014 16:46:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jun 2014 16:46:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [88.198.20.155] (HELO marvin.3d4x.ch) (88.198.20.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jun 2014 16:46:29 +0000 Received: from localhost (localhost [127.0.0.1]) by marvin.3d4x.ch (Postfix) with ESMTP id 3E9DA8AC079 for ; Sun, 8 Jun 2014 18:46:08 +0200 (CEST) Received: from marvin.3d4x.ch ([127.0.0.1]) by localhost (marvin.3d4x.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uXEYkkvi2h07 for ; Sun, 8 Jun 2014 18:46:08 +0200 (CEST) Received: from [127.0.0.1] (catv-85-038.rkocom.ch [83.97.85.38]) (Authenticated sender: tw@3d4x.ch) by marvin.3d4x.ch (Postfix) with ESMTPSA id 08BDD8AC073 for ; Sun, 8 Jun 2014 18:46:07 +0200 (CEST) Message-ID: <5394935C.4070309@3d4x.ch> Date: Sun, 08 Jun 2014 18:46:20 +0200 From: Tobias Wiersch User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users] mod_fcgid is not serving more than 1024 php requests. Why? Hello, I'm using Apache 2.2.22 with mod_fcgid 2.3.6 and PHP 5.3 Our server should be able to serve more than 4000 concurrent PHP-requests. When testing with e.g. ab -c 2000 -n 10000 http://... mod_fcgid will always create a maximum of 1024 threads only: [] pstree |-apache2---1024*[php5-cgi] But my config says: FcgidMaxProcesses 4000 FcgidMaxProcessesPerClass 4000 StartServers 2 ServerLimit 160 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxClients 4000 MaxRequestsPerChild 0 I think it's not coincidence that the maximum is exactly 1024. But I'm unable to find the source of this maximum. The system-, suexec- and apache-logs show no errors. Nonetheless I increased some internal limits like the maximum process count or the maximum open files, but with no luck. This is driving me crazy. From where comes the limit of 1024? Have I missed something? Thanks in advance, Tobias --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org