CentOSCSFDebianFedoraFirewallLinuxNetworking & SecurityOperating SystemsRedHatUbuntu

LFD Excessive Resource Usage Alerts

The LFD service sometimes send excessive resource usage alerts as below:

Time: Tue Nov 19 09:41:10 2013 +0530
Account: xxxxxx
Resource: Virtual Memory Size
Exceeded: 205 > 200 (MB)
Executable: /usr/bin/php
Command Line: /usr/bin/php /home/xxxxxx/public_html/index.php
PID: 24933 (Parent PID:22578)
Killed: No

The above alerts are received when a process utilizes more than the memory defined in the CSF configuration file under  PT_USERMEM variable.
The changes in the memory value can be made by updating PT_USERMEM value in the CSF configuration file. To turn of these tracking, set value of PT_USERMEM to 0 in the CSF configuration file.

1)  Login in the server as root user.

2) Open the CSF configuration file

vi  /etc/csf/csf.conf

3) Locate PT_USERMEM in the file and set the desire value.

4) Restart CSF

csf -r

My View:

Such alerts are useful to track the processes/accounts consuming high resources. Increasing the PT_USERMEM value and monitoring the processes should provide clear picture of resource usage.

Abhijit Sandhan

Love to Automate, Blog, Travel, Hike & spread Knowledge!

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button