Hello to the team!
Very often I have the following problem. Several sites are down and I get error 500. In the domain log file I see this
In the apache log, there is nothing for this problem.
If I restart apache everything works fine, but after a few hours or next day, the problem appear again.
My /etc/httpd/conf.d/fcgid.conf file has the following settings
I try to raise FcgidMaxProcesses to 64, but the problem appears again.
Can help to to stop this problem?
Thank you!
PS: The sites I get error 500, has the setting of FastCgi at PHP settings.
Very often I have the following problem. Several sites are down and I get error 500. In the domain log file I see this
mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
In the apache log, there is nothing for this problem.
If I restart apache everything works fine, but after a few hours or next day, the problem appear again.
My /etc/httpd/conf.d/fcgid.conf file has the following settings
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>
FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
FcgidIdleTimeout 3600
#FcgidProcessLifeTime 30
FcgidProcessLifeTime 10000
#FcgidMaxProcesses 20
FcgidMaxProcesses 64
#FcgidMaxProcessesPerClass 8
FcgidMaxProcessesPerClass 25
FcgidMinProcessesPerClass 0
#FcgidConnectTimeout 30
FcgidConnectTimeout 60
FcgidIOTimeout 45
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10
FcgidMaxRequestLen 1073741824
IPCCommTimeout 360
IPCConnectTimeout 360
</IfModule>
I try to raise FcgidMaxProcesses to 64, but the problem appears again.
Can help to to stop this problem?
Thank you!
PS: The sites I get error 500, has the setting of FastCgi at PHP settings.