Results 1 to 4 of 4
  1. #1

    Apache 2.2.11 how to set MinSpareServers, MaxSpareServers, StartServers

    Hi,

    I am wanting to set the following in the httpd.conf
    MinSpareServers / MaxSpareServers / StartServers

    However they are not in my httpd.conf , I am running Apache 2.2.11 on a cPanel/WHM VPS.

    How and where do I set these settings ?
    Thanks,
    DolphinEcho

  2. #2
    Join Date
    May 2007
    Location
    Canada
    Posts
    183
    You would/could use the include editor in WHM, and add your settings into the post virtual host section, that way they would be the last to load.
    Quality Hosting - http://www.robohostingsolutions.com
    My Blog - http://solidservers.ca
    Freelance Server Administration (decent rates!) - Chris(at)SolidServers.ca

  3. #3
    Can you confirm the actions. So I would:

    1) Login to WHM

    2) Click Apache Configuration

    3) Click Include Editor

    4) Under Post VirtualHost Include I would click the drop down and pick 2.2.11 which open a text box

    5) Put something like the below in the text box ?
    Code:
    MinSpareServers 10
    MaxSpareServers 20
    StartServers 15
    6) Then restart Apache
    Thanks,
    DolphinEcho

  4. #4
    Join Date
    May 2007
    Location
    Canada
    Posts
    183
    Yep, that will work. You can also use the 'if' statement, if you wish:

    <IfModule prefork.c>
    StartServers 15
    MinSpareServers 10
    MaxSpareServers 20
    </IfModule>

    <IfModule worker.c>
    StartServers 15
    MinSpareServers 10
    MaxSpareServers 20
    </IfModule>


    Chris
    Quality Hosting - http://www.robohostingsolutions.com
    My Blog - http://solidservers.ca
    Freelance Server Administration (decent rates!) - Chris(at)SolidServers.ca

Similar Threads

  1. How to replace apache prefork to apache worker on Centos 5??
    By toy_boy in forum Hosting Security and Technology
    Replies: 5
    Last Post: 09-09-2009, 12:59 AM
  2. MinSpareServers, MaxSpareServers values
    By linktome in forum Hosting Security and Technology
    Replies: 1
    Last Post: 08-29-2007, 01:20 PM
  3. Multiple Requests and MinSpareServers?
    By dreaz in forum Hosting Security and Technology
    Replies: 0
    Last Post: 02-14-2006, 06:04 AM
  4. After upgrading apache 1.3.x to apache 2.x on redhat Linux the webs do not show.
    By jonathan184 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 11-04-2005, 11:22 AM
  5. StartServers
    By goolex in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-16-2005, 05:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •