(04-02-2009 01:30 AM)cell Wrote: Currently I use fcgid with this config:
/etc/apache2/mods-enabled/fcgid_ispcp.conf:
Code:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php .php5
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 300
IdleScanInterval 240
BusyTimeout 300
BusyScanInterval 120
ErrorScanInterval 6
ZombieScanInterval 3
ProcessLifeTime 3600
SpawnScoreUpLimit 10
IPCConnectTimeout 300
IPCCommTimeout 300
</IfModule>
But after 40sec run I get a 500 error and in the log: "[warn] mod_fcgid: read data timeout in 40 seconds".
I dont have any more idea for how to config fcgid, so I try to switch fastcgi, but it's give me the same result now :/
Here is mine, but of course you should adapt this to your server, the server with this file is a Core 2 Duo and has 2GB Ram:
Code:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi .php .php5
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 300
MaxProcessCount 200
DefaultMinClassProcessCount 1
DefaultMaxClassProcessCount 25
IPCConnectTimeout 20
IPCCommTimeout 120
IdleScanInterval 120
ProcessLifeTime 900
BusyTimeout 300
BusyScanInterval 120
ErrorScanInterval 3
ZombieScanInterval 3
</IfModule>