Thanks,

I go to try this.

2010/9/25 Travers Carter <tcar...@noggin.com.au>:
> Hi,
>
> I'm not sure if this is the exact cause of your problem, but a few
> config changes I would try are below:
>
> On Sat, 25 Sep 2010 04:11:18 +0200, Julien Jabouin <chatlumo....@gmail.com>
> wrote:
>>
>> #cat /etc/apache2/mods-available/fcgid.conf
>> <IfModule mod_fcgid.c>
>>   AddHandler  fcgid-script .fcgi
>>   IPCConnectTimeout 20
>> #  IdleTimeout 300
>> #  IdleScanInterval 240
>> #  BusyTimeout 300
>> #  BusyScanInterval 120
>> #  ErrorScanInterval 6
>> #  ZombieScanInterval 3
>> #  ProcessLifeTime 3600
>> #  SpawnScoreUpLimit 10
>> #  IPCConnectTimeout 300
>> #  IPCCommTimeout 300
>> </IfModule>
>
> You should add "MaxRequestsPerProcess 1000" to the above list,
> where 1000 is whatever value you set PHP_FCGI_MAX_REQUESTS to.
>
> If the two don't match some requests can fail.
>
> For the newer (Apache) version of mod_fcgid the directive is called
> FcgidMaxRequestsPerProcess, but it is the same thing.
>
> See
> http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestsperprocess
>
>
>>
>> # cat /var/www/site1/php-cgi
>> #!/bin/bash
>> PHP_FCGI_CHILDREN=4
>> PHP_FCGI_MAX_REQUESTS=1000
>> export PHP_FCGI_CHILDREN
>> export PHP_FCGI_MAX_REQUESTS
>> exec /usr/bin/php5-cgi
>>
>
>
> Don't set PHP_FCGI_CHILDREN, mod_fcgid won't send more than one request at
> a time
> to a process, so you should increase the (Fcgid)MaxProcessesPerClass
> setting in
> apache instead.
>
> See
> http://wherethebitsroam.com/blogs/jeffw/apache-php-fastcgi-and-phpfcgichildren
>
>
> --
> Travers Carter - Noggin - http://www.noggin.com.au/
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Mod-fcgid-users mailing list
> Mod-fcgid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to