mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5
Hi,
Apache get error
mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5
How can i fix ?
regards,
Config ile and values
/usr/local/apache/conf/php.conf
# Fastcgi configuration for PHP5
LoadModule fcgid_module modules/mod_fcgid.so
FcgidBusyScanInterval 20
FcgidBusyTimeout 100
FcgidErrorScanInterval 3
FcgidFixPathinfo 1
FcgidIdleScanInterval 30
FcgidIdleTimeout 120
FcgidIOTimeout 40
FcgidMaxProcesses 40
FcgidMaxProcessesPerClass 100
FcgidMaxRequestInMem 268435456
FcgidMaxRequestLen 1073741824
FcgidMaxRequestsPerProcess 0
FcgidMinProcessesPerClass 3
FcgidOutputBufferSize 1048576
FcgidPassHeader HTTP_AUTHORIZATION
FcgidProcessLifeTime 300
FcgidSpawnScore 1
FcgidSpawnScoreUpLimit 10
FcgidTerminationScore 10
FcgidTimeScore 2
FcgidZombieScanInterval 60
FcgidConnectTimeout 5
AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtml
FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php5
FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php4
FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php
FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php3
FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php2
FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .phtml
-
Hi, Are there any additional error messages in /usr/local/apache/logs/error_log when this problem occurs? 0 -
[Mon Nov 09 18:03:51 2015] [warn] [client 212.252.19.234] mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 [Mon Nov 09 18:03:49 2015] [warn] [client 157.55.39.228] mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 [Mon Nov 09 18:03:41 2015] [warn] [client 144.76.23.75] mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 [Mon Nov 09 18:03:40 2015] [warn] [client 78.169.239.95] mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 0 -
Hello :) The messages suggest you need to increase your FCGI configuration limits, however you may want to consider switching to a different PHP handler if you are not comfortable with customizing the values. Per our documentation, we only recommend the mod_fcgid Apache module for advanced system administrators who understand how to modify the performance of the mod_fcgid Apache module. Thank you. 0 -
FcgidMaxProcessesPerClass 100 This allows 100 php processes per cpanel account. FcgidMaxProcesses 40 This limits all php processes to 40. So, I would raise this to at least 100 if not more depending on your available memory resources. 0
Please sign in to leave a comment.
Comments
4 comments