httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] Optimizing mod_fcgid
Date Tue, 23 Mar 2010 12:37:51 GMT
On Sat, Mar 20, 2010 at 2:16 AM, Nilesh Govindarajan <lists@itech7.com> 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message