How to Stop Excessive Resource Usage Alerts

If you are using combination of WHM/cPanel with most popular CSF/LFD, you have probably received few (or tons) of these email alerts. If you are thinking of stopping them, you can do next thing.

You have probably received an email which looks like this:

lfd on server.com: Excessive resource usage: xxxxxxxxxxxxxx
Time: xxxxxxxxxxxxxx
Account: peter1
Resource: Process Time
Exceeded: 3665 > 1800 (seconds)
Executable: /home/virt/peter1/usr/bin/php
Command Line: php -q /home/peter1/public_html/my/pipe/pop.php
PID: xxxxxxxx
Killed: No

Firsty, locate which executable is mention in your email (in our case it is: /home/virt/peter1/usr/bin/php). There is TWO ways that you can disable these emails:

  1. You can edit CSF.pignore file directly over SSH or FTP. Usually it is located in: /etc/csf/csf.pignore

Add next code inside it:

exe:/home/virt/peter1/usr/bin/php

2. You can do this directly in your WHM>> ConfigServer Security & Firewall>> Edit lfd ignore file (Find csf.pignore in dropdown menu). When you click on EDIT, you can add this line at the end of it:

exe:/home/virt/peter1/usr/bin/php

Restart CSF/LFD, and that it!

The similar procedure can be done for: Excessive processes running under user ….   email alerts.

Leave a Reply

Your email address will not be published. Required fields are marked *