Too many FastCGI processes spawning
Hi,
I am running cpanel on a 2 GB VPS for a client. The server has around 60 small/low traffic wordpress sites. Everything was good before the latest update to 62.0. I was using suphp as PHP handler. After the update, I switched to FCGI and everything looked great and fast. CPU Load went down drastically but the RAM usage shot up. while it used to be around 50% mark with suphp, with FCGID, it constantly hits 100% (+ 100% swap) and Clamd/Spamd/Mysql are going down often. I tried to limit the FCGID processes, to no use. Here are the settings I am using :
##Apache Event Default Settings (overrides main httpd.conf)
KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 10
FcgidMaxRequestLen 1073741824
FcgidOutputBufferSize 1073741824
FcgidMinProcessesPerClass 0
FcgidMaxRequestsPerProcess 0
FcgidMaxProcesses 8
FcgidMaxProcessesPerClass 2
FcgidFixPathinfo 1
FcgidIdleTimeout 5
FcgidBusyTimeout 45
FcgidProcessLifeTime 30
FcgidIOTimeout 30
FcgidIdleScanInterval 2
FcgidErrorScanInterval 10
FcgidZombieScanInterval 10
Still mod_fcgid status shows more than 50-60 FastCGI processes at time. Monitoring tools (Nixstats) also provide the same info (attached screenhot)
What am I doing wrong ?
Regards
-
Hi, Please check the below article: mod_fcgid Performance Tuning Guide for cPanel Servers Fcgid - mod_fcgid Performance Tuning Guide for cPanel Servers 0 -
I tried to limit the FCGID processes, to no use. Here are the settings I am using :
Hello, Could you verify the specific method you used to modify the settings? Thank you.0
Please sign in to leave a comment.
Comments
2 comments