cPanel fastcgi settings
Hello,
I m having an issue with my server load.
When i have high traffic my website goes down.
Soi checked the apache logs and i foud this :
After a short search on the web i found out that this probl"me can be solved by changing the fcgi settings. So i would like to know where can i find my current fcgi settings and how to change it. I wanna add this code to optimize it and increase FcgidMaxProcesses
Thanks
[Wed Aug 19 18:18:32.394739 2015] [fcgid:warn] [pid 15486:tid 140109533861632] [client 1.111.111.1:55043] mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5, referer: http://exemple.com/xxxxxxxx
After a short search on the web i found out that this probl"me can be solved by changing the fcgi settings. So i would like to know where can i find my current fcgi settings and how to change it. I wanna add this code to optimize it and increase FcgidMaxProcesses
MaxRequestsPerProcess 1000
FcgidMaxProcesses 200
FcgidProcessLifeTime 7200
MaxProcessCount 500
FcgidIOTimeout 400
FcgidIdleTimeout 600
FcgidIdleScanInterval 90
FcgidBusyTimeout 300
FcgidBusyScanInterval 80
ErrorScanInterval 3
ZombieScanInterval 3
DefaultMinClassProcessCount 0
DefaultMaxClassProcessCount 3
MaxRequestLen 20468982
Thanks
-
hello. Thanks for answer, i checked this post but dindt help me i just would like to know wher can i find the fastcgi config file and i dont wanna use the WHM Home " Service Configuration " Apache Configuration " Include Editor " Pre VirtualHost Include because i heard that this configuration will be overwritten on Apache recompile. Thanks 0 -
The "Pre VirtualHost Include" section is the correct place to add the configuration and will not be overwritten when Apache is recompiled. There is not fcgid config file. It simply runs with the defaults until you manually override it with your new settings. You can read the available settings and defaults here: 0 -
Now it s clear Thanks for help 0 -
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments