Stop worrying about your server.
cPanel/Plesk Server Management for just $59/mo with Unlimited tickets, Unlimited admin hours, Security audits, 24×7 monitoring and lot more
How to disable LFD excessive resource usage alert:
As you know that LFD is the login failed Daemon, it will fetch the login failed logs from the server logs and disable the IP address from which the login failed is registered on the server. This can be done by using the CSF firewall. You can get alerts to your email when you set this on your server. In LFD we can set resource usage limit.
See an example LFD alert for resource usage limit exceed.
Time: Tue Nov 29 12:15:10 2014 +0520 Account: iserver Resource: Virtual Memory Size Exceeded: 205 > 200 (MB) Executable: /usr/bin/php Command Line: /usr/bin/php /home/iserver/public_html/index.php PID: 11254 (Parent PID:11254) Killed: No
This is an email alert for resource usage limit exceed by the user named iserver. So for disabling getting alerts related to LFD resource usage, please follow the methods mentioned below,
You can disable this particular feature from CSF configuration.
Step 1: Login to your server via SSH as root user.
Step 2: Open the CSF configuration file (/etc/csf/csf.conf) and search the directive ‘PT_USERMEM’. By considering the above example, the PT_USERMEM is 200. You can set the value of PT_USERMEM to ‘0’ to disable this feature from CSF.
[[email protected] #] vi /etc/csf/csf.conf ----- # This User Process Tracking option sends an alert if any linux user process # exceeds the memory usage set (MB). To ignore specific processes or users use # csf.pignore # # Set to 0 to disable this feature PT_USERMEM = "200"
You can increase the PT_USERMEM limit. By setting the value of PT_USERMEM to a higher value than 200 may help you.
There is a file in csf directory ‘csf.pignore’. You can add the process or the user which you want to ignore this type of alert in to this file.
[[email protected] #] vim /etc/csf/csf.pignore
Restart the services CSF and LFD
If you need our help to fix any issues with your server. Please feel free to contact us, simply email to [email protected]
Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59
[sep][/sep][button size=”large” color=”green” title=”Server Management from iServersupport” link=”http://iserversupport.com/cpanel-server-management/”]Server Management at just $59[/button]