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.

help with mpm_worker setup

Discussion in 'General Discussion' started by PPNSteve, Jan 3, 2008.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    been having apache2.2 crashing a lot lately (was using prefork) so decided to rebuild with the worker mpm in hopes that it will better use our available resources.

    now i just need some real-world help configuring the settings for the worker module

    avg users on this box at one time is around 350 - 400 (hosts a vB forum, so its 95% php/mysql) so we'd like to set a max at 625 clients/users etc. to handle the peaks.

    we have 2GB ram so resource usage needs to be minimal

    apache's default:
    Code:
     
    ServerLimit 16
    StartServers 2
    MaxClients 150
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    
    our current (best guess) settings:
    Code:
    ServerLimit 25
    StartServers 2
    MaxClients 625
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxRequestsPerChild 1500
    
    now can some of you using this module help me come up with workable settings to handle our userloads??

    suggestions? your recommendations please.

    thanks in advance.
     
  2. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    My suggestion is that MaxClients 625 is a lot for only 2GB of RAM.


    Thanks,
     
Loading...

Share This Page