Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Question help with mpm_worker setup

    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.
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  2. #2
    Member
    Join Date
    Sep 2006
    Posts
    144
    cPanel/Enkompass Access Level

    Website Owner

    Default

    My suggestion is that MaxClients 625 is a lot for only 2GB of RAM.


    Thanks,
    QHoster.com - Unlimited-Domain Web Hosting | Shared & Reseller with cPanel

Similar Threads & Tags
Similar threads

  1. Apache FCGID MPM_Worker on 512MB + 16CPU VPS
    By LeGastronome in forum Optimization
    Replies: 5
    Last Post: 11-22-2010, 07:53 AM
  2. FCGI + mpm_worker
    By petteyg359 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-23-2009, 09:33 PM
  3. mpm_worker configuration in httpd.conf
    By dellio in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-24-2009, 02:17 AM
  4. EasyApache + MPM_worker?
    By Tony Kanago in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-26-2006, 08:14 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube