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.

Share on Facebook2
Share on Google+4Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn1Share on Tumblr0Digg thisPin on Pinterest0Share on Reddit0Email this to someonePrint this page

About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing knowledge!

Leave a Reply

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

CAPTCHA