Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

limit apache memory (mod_ruid2)

Discussion in 'Workarounds and Optimization' started by sonicthoughts, Mar 19, 2015.

  1. sonicthoughts

    sonicthoughts Well-Known Member

    Joined:
    Apr 4, 2011
    Messages:
    61
    Likes Received:
    3
    Trophy Points:
    58
    When the system gets a burst of traffic, httpd processes (prefork) start spawning and are very large. How can I set ulimit on memory or some other parameter. I have maxworkers set to limit the number of processes, but at times they get large, so it's a moving target.

    Also, please note that I've set max php memory to 256, however it is rarely that size. When the burst comes, I suspect that the php process memory swells, so many httpd processes are spawned and very large.

    Looking for a sensible mitigation strategy. thx.
     
    #1 sonicthoughts, Mar 19, 2015
    Last edited: Mar 20, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I've moved this thread to our "Optimization" forum. You should receive more user-feedback here.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice