Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Meaning of below configuration details of apache httpd.conf file?

Posted on 2011-02-20
2
Medium Priority
?
879 Views
Last Modified: 2012-08-13
Hello, I would like to understand the meaning of below configuration details in the httpd.conf. Currently I see there are 14 httpd daemon as the output of ps -eaf. Could someone please explain me how much _MAXIMUM_ simultaneously http connection my web server can handle and why? Thanks!

MinSpareServers 5
MaxSpareServers 10
StartServers 15
MaxClients 300
MaxRequestsPerChild 50000

Open in new window

0
Comment
Question by:beer9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
mwochnick earned 2000 total points
ID: 34939262
MinSpareServers and MaxSpareServers are the opposite ends of the same stick
if there are more idle processes than MaxSpareServers then the extra idle processes will be killed and vice versa if there are less idle process than MinSpareServers then extra processes will be created.  More about these two can be found here http://httpd.apache.org/docs/2.0/mod/prefork.html

MaxClients sets the maximum number of Concurrent connections you web server will process. -in your case 300 - note that this doesn't mean its the optimal number just the max
MaxClients info can be found here http://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxclients

StartServers is the number of process to start when the server starts more info can be found here http://httpd.apache.org/docs/2.0/mod/mpm_common.html#startservers

MaxRequestsPerChild limits the number of requests a process will handle before it dies - 0 equals infinte.  It is used in the case of a slow memory leak
More info can be found here http://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxrequestsperchild

Finally an article on tuning apache can be found here http://httpd.apache.org/docs/2.0/misc/perf-tuning.html
0
 

Author Closing Comment

by:beer9
ID: 34987052
Thank you! :-)
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question