Solved

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

Posted on 2011-02-20
2
878 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 500 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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 this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
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

622 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