Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 99551 invoked from network); 23 Mar 2010 12:48:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 12:48:39 -0000 Received: (qmail 85739 invoked by uid 500); 23 Mar 2010 12:48:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 85660 invoked by uid 500); 23 Mar 2010 12:48: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 85652 invoked by uid 99); 23 Mar 2010 12:48:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 12:48:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@itech7.com designates 209.85.221.194 as permitted sender) Received: from [209.85.221.194] (HELO mail-qy0-f194.google.com) (209.85.221.194) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 12:48:30 +0000 Received: by qyk32 with SMTP id 32so4155423qyk.12 for ; Tue, 23 Mar 2010 05:48:09 -0700 (PDT) Received: by 10.229.218.204 with SMTP id hr12mr5399241qcb.101.1269348488666; Tue, 23 Mar 2010 05:48:08 -0700 (PDT) Received: from [192.168.1.254] ([121.246.205.20]) by mx.google.com with ESMTPS id 22sm2100604qyk.14.2010.03.23.05.48.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Mar 2010 05:48:07 -0700 (PDT) Message-ID: <4BA8B884.1040806@itech7.com> Date: Tue, 23 Mar 2010 18:18:04 +0530 From: Nilesh Govindarajan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Shredder/3.0.3 MIME-Version: 1.0 To: users@httpd.apache.org References: <4BA4683A.3030404@itech7.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [users@httpd] Optimizing mod_fcgid On 03/23/2010 06:07 PM, Jeff Trawick wrote: > On Sat, Mar 20, 2010 at 2:16 AM, Nilesh Govindarajan wrote: >> Hi, >> >> I recently migrated from mod_fastcgi to mod_fcgid and experienced enormous >> performance boost. >> >> My current settings is as follows - >> >> FcgidMaxProcesses 100 >> FcgidMaxProcessesPerClass 50 >> FcgidFixPathInfo 1 >> FcgidPassHeader HTTP_AUTHORIZATION >> FcgidMaxRequestsPerProcess 10000 > > Since this is PHP, make sure you sync PHP's child exit strategy with > mod_fcgid's max-requests-per-process. > > See "Special PHP considerations" at > http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html for discussion of > a couple of issues. > >> FcgidOutputBufferSize 1048576 >> FcgidProcessLifeTime 1800 >> FcgidMinProcessesPerClass 2 >> >> Main use is for PHP applications, but in future may add some languages. >> >> Server config - >> >> Fedora 12, 500 MB RAM, Pentium 2 Ghz >> >> PHP applications are cached using Xcache, and will normally use PostgreSQL. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > Yeah I've synced that by setting the relevant PHP_FCGI_* environment variables. But Xcache doesn't work with mod_fcgid. Any solutions for that ? Can I use any alternatives to Xcache to cache the compiled code of the PHP script ? -- Nilesh Govindarajan Site & Server Administrator www.itech7.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org