Results 1 to 4 of 4
-
07-23-2009, 07:56 AM #1WHT Addict
- Join Date
- Oct 2008
- Posts
- 108
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
-
07-23-2009, 08:19 AM #2Junior Guru
- 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
-
07-23-2009, 09:10 AM #3WHT Addict
- Join Date
- Oct 2008
- Posts
- 108
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
Thanks,
DolphinEcho
-
07-23-2009, 10:24 AM #4Junior Guru
- 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>
ChrisQuality Hosting - http://www.robohostingsolutions.com
My Blog - http://solidservers.ca
Freelance Server Administration (decent rates!) - Chris(at)SolidServers.ca
Similar Threads
-
How to replace apache prefork to apache worker on Centos 5??
By toy_boy in forum Hosting Security and TechnologyReplies: 5Last Post: 09-09-2009, 12:59 AM -
MinSpareServers, MaxSpareServers values
By linktome in forum Hosting Security and TechnologyReplies: 1Last Post: 08-29-2007, 01:20 PM -
Multiple Requests and MinSpareServers?
By dreaz in forum Hosting Security and TechnologyReplies: 0Last Post: 02-14-2006, 06:04 AM -
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 TechnologyReplies: 1Last Post: 11-04-2005, 11:22 AM -
StartServers
By goolex in forum Hosting Security and TechnologyReplies: 5Last Post: 07-16-2005, 05:12 AM