Solved

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

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

839 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