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.

csf Memory Limiter

Discussion in 'General Discussion' started by jimmy1987, May 12, 2008.

  1. jimmy1987

    jimmy1987 Member

    Joined:
    Feb 27, 2008
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    How do i get rid of this very annoying function?

    Don't give me the usual but it is safe for your server story, because that function is a pain in the ass.
    It gives me emails with resource limits even when browsing cpanel.

    So how do i turn it off?

    To show what i mean:

    Time: Mon May 12 23:03:09 2008
    Account: xxxxx
    Resource: Virtual Memory Size
    Exceeded: 124 > 100 (MB)
    Executable: /usr/local/cpanel/cpanel
    Command Line: /usr/local/cpanel/cpanel ./frontend/x3/passwd/changepass.html
    PID: 17547
    Killed: No
     
    #1 jimmy1987, May 12, 2008
    Last edited: May 12, 2008
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Do you have CSF/LFD installed on your system ? If yes you can disable the notifications from the process section.

    You can also remove the Apache memory & CPU limiters by commenting the following entries from the httpd.conf file :

     
    #2 viraj, May 12, 2008
    Last edited: May 12, 2008
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Modify Apache Memory Usage under the Security section of WHM left menu. Might want to click that link and have it set for you.


     
  4. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    i am thinking that the forums are all screwed up. His post has nothing to do with apache but yet the title does.

    the LFD warning email's come from when a user logs into cPanel and makes changes. I get them all the time. You could erase apache from the servers and you would still get these warnings.

    I believe there are some exclusions list in the csf configuration settings. check there :)
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just add:

    exe:/usr/local/cpanel/cpanel

    to /etc/csf/csf.pignore and then restart lfd:

    service lfd restart

    Or increase the memory limit in csf.conf
     
    #5 chirpy, May 14, 2008
    Last edited: May 14, 2008
Loading...

Share This Page