Cpanel and Apache memory/cpu limits

Discussion in 'Site & Server Administration' started by ASTRAPI, Sep 12, 2010.

  1. #1
    Hello

    I was press on the csf firewall the link to set the limits to the apache cpu and memory usage but it was auto set it and i don't know where i must go to set it back to default "unset" so it will use my OS Centos 64bit defaults :(

    Any ideas?

    Thank you
     
    ASTRAPI, Sep 12, 2010 IP
  2. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #2
    They are added in the Apache configuration file at: /usr/local/apache/conf/httpd.conf
     
    madaboutlinux, Sep 13, 2010 IP
  3. echipvina

    echipvina Active Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    I think ConfigServer Security & Firewall can't setlimit apache cpu and memory usage. You need configuaration in apache,mysql,php config
     
    echipvina, Sep 15, 2010 IP
  4. mellow-h

    mellow-h Peon

    Messages:
    750
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Right, this limit should be something different. If it is apache, then it should be called "RLimit". You can try finding this directive in your httpd configuration and removing it.
     
    mellow-h, Sep 17, 2010 IP
  5. euro-space

    euro-space Well-Known Member

    Messages:
    471
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Apache configuration could be set in httpd.conf , to set cpu/memory, etc. limits to particular cPanel user or group, you can modify /etc/security/limits.conf file and add appropriate values.
     
    euro-space, Aug 29, 2013 IP