Solved

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

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

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…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

734 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