Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now