apache 崩溃和 mod_fcgi 错误

apache 崩溃和 mod_fcgi 错误

Apache 崩溃并出现以下错误:

mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5
mod_fcgid: /usr/local/cpanel/cgi-sys/php5 spawn score 10 >= 10, skip the spawn request
mod_fcgid: too many /usr/local/cpanel/cgi-sys/php5 processes (current:10, max:10), skip the spawn request
mod_fcgid: process /usr/local/cpanel/cgi-sys/php5(22777) exit(communication error), get unexpected signal 11

我在 Centos5、Apache v2.2.22、PHP v5.2.17 上安装了 cPanel

php.conf内容:

LoadModule fcgid_module modules/mod_fcgid.so
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 10
FcgidMaxProcessesPerClass 10
FcgidMinProcessesPerClass 1
FcgidIOTimeout 300
FcgidFixPathinfo 1 
FcgidIdleTimeout 100
FcgidIdleScanInterval 30
FcgidBusyTimeout 300
FcgidBusyScanInterval 30
FcgidErrorScanInterval 3
FcgidZombieScanInterval 3
FcgidProcessLifeTime 3600
FcgidMaxRequestInMem 419430400
FcgidMaxRequestLen 1073741824

我在许多具有相同配置的服务器上都遇到了相同的错误。

答案1

生成分数 10 >= 10,跳过生成请求

看法函数值指示: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidspawnscoreuplimit

有可能,您的 modfcgid 正在生成多个进程,并且出于谨慎考虑,会限制削减请求。

相关内容