Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 41916 invoked by uid 500); 20 Sep 2001 16:51:45 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 41905 invoked from network); 20 Sep 2001 16:51:45 -0000 Date: Thu, 20 Sep 2001 09:51:46 -0700 From: Aaron Bannert To: dev@httpd.apache.org Subject: [PATCH] update to default worker MPM config to match MaxClients fix Message-ID: <20010920095146.Y20983@clove.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Here's the config update I promised. As I mentioned earlier, this should bring the behavior of the worker MPM in line with prefork and the common definitions of these directives. These defaults are of course not set in stone. If anyone has a better idea how to get the best results from some default worker MPM params, feel free to update this -- I'm mostly interested in changing the comment and the default MaxClients value. -aaron Index: docs/conf/httpd-std.conf =================================================================== RCS file: /home/cvspublic/httpd-2.0/docs/conf/httpd-std.conf,v retrieving revision 1.49 diff -u -r1.49 httpd-std.conf --- docs/conf/httpd-std.conf 2001/09/16 19:15:59 1.49 +++ docs/conf/httpd-std.conf 2001/09/20 16:39:37 @@ -132,15 +132,15 @@ # worker MPM # StartServers: initial number of server processes to start -# MaxClients: maximum number of server processes allowed to start +# MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves -StartServers 3 -MaxClients 8 -MinSpareThreads 5 +StartServers 2 +MaxClients 150 +MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0