I recently switched to FastCGI and now I regularly get errors either 'Excessive Resource Usage' or 'Suspicious Process Running'.
I get these maybe 2/3 times per day from various accounts, seems quite random.
I'm assuming I just need to change/increase some settings values somewhere, I've googled the problem and tried a few things but I must be missing it because i'm not seeing an improvement.
Here is some settings:
Post VirtualHost Include
Apache:
Thanks
Code:
Uptime: 129 seconds
Executable:
/usr/selector/php
Command Line (often faked in exploits):
/usr/bin/php
Network connections by the process (if any):
tcp: <IP>:42728 -> <IP>:443
Files open by the process (if any):
/usr/local/apache/logs/error_log
/usr/local/apache/logs/error_log
(deleted)/tmp/ZCUD4t6Ivq
/dev/urandom
/tmp/cloudflare.3.0.2-ZSAdSA.tmp
I'm assuming I just need to change/increase some settings values somewhere, I've googled the problem and tried a few things but I must be missing it because i'm not seeing an improvement.
Here is some settings:
Post VirtualHost Include
Code:
<IfModule mod_fcgid.c>
FcgidMinProcessesPerClass 0
FcgidMaxProcessesPerClass 15
FcgidMaxProcesses 300
FcgidIdleTimeout 60
FcgidProcessLifeTime 120
FcgidIdleScanInterval 30
FcgidMaxRequestsPerProcess 5000
FcgidIOTimeout 2000
</IfModule>
Code:
Start Servers 10
Minimum Spare Servers 20
Maximum Spare Servers 40
Server Limit (Maximum: 20,000) 256
Max Request Workers 150
Max Connections Per Child 10000
Keep-Alive On
Keep-Alive Timeout 5
Max Keep-Alive Requests 150
Timeout 300
Last edited by a moderator: