The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

lfd: ignore "excessive resource usage" for pkgacct

Discussion in 'General Discussion' started by Moses Moore, Jun 24, 2015.

  1. Moses Moore

    Moses Moore Member

    Joined:
    Jun 19, 2015
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
    #1 Moses Moore, Jun 24, 2015
    Last edited by a moderator: Jun 25, 2015
  2. Moses Moore

    Moses Moore Member

    Joined:
    Jun 19, 2015
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    cPanel Access Level:
    Root Administrator
    Why did the fourm software insert a pink-tounge face? I didn't tell it to use a pink tounge face.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,456
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I've wrapped the text in code tags for you.
     
  4. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    I guess maybe you could get some help in ConfigServer forum as I've faced this issue before and tried to fix it in many ways but never get any luck so turned off alerts.
     
  5. tui

    tui Active Member

    Joined:
    Jun 15, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    Did you figure how to ignore this? I started to receiving this same alerts after 11.50 update in one of my servers
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. tui

    tui Active Member

    Joined:
    Jun 15, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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....
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,724
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page