lfd: ignore "excessive resource usage" for pkgacct

Moses Moore

Member
Jun 19, 2015
22
0
1
Montreal
cPanel Access Level
Root Administrator
I'm having trouble telling lfd to ignore "excessive resource usage" warnings. I've tried exe and pexe lines, but I'm still getting the emails every night.

Here's the message I'm getting each night:
Code:
Account: [username removed]
Resource:  Virtual Memory Size
Exceeded:  277 > 200 (MB)
Executable:  /usr/local/cpanel/3rdparty/perl/514/bin/perl
Command Line: pkgacct - [username removed] - av: 3
PID: 18145 (Parent PID:17984)
Killed:  No
And here's what's in my /etc/csf/csf.pignore:

Code:
pcmd:/usr/local/cpanel/3rdparty/perl/514/bin/perl pkgacct .*
pcmd:pkgacct
I've done a "/etc/init.d/lfd restart" after I added these lines. Obviously I don't want to use "user:<user>" to ignore all processes owned by that user, and I don't want to use "exe:/usr/local/cpanel/3rdparty/perl/514/bin/perl" to ignore all Perl scripts.

I want not to be alerted each night for normal cPanel pkgacct operation, but I still wish to be alerted for extraordinary resource use of anything else. I'm doing what the lfd documentation says I should; could someone show me what I'm doing wrong?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463

tui

Well-Known Member
Jun 15, 2007
147
40
78
Mexico
cPanel Access Level
Root Administrator
I had already checked those two threads, unfortunately do not help, im still receiving this alerts after 11.50 update but only on one specific server, every day i need to delete tons of mails is very annoying....
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I had already checked those two threads, unfortunately do not help,
Could you elaborate on which solutions from those threads that you have tried? Please keep in mind the alerts are coming from CSF/LFD, and not cPanel. CSF is a third-party application that we don't develop, so it's not something we generally troubleshoot.

Thank you.