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 :
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
<IfModule mod_fcgid.c>
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
</IfModule>
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
KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 10
<IfModule mod_fcgid.c>
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
</IfModule>
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
Attachments
-
44.2 KB Views: 8