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.

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:
    8
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page