Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 9013 invoked by uid 500); 27 Aug 2001 20:52:49 -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 8981 invoked from network); 27 Aug 2001 20:52:49 -0000 Date: Mon, 27 Aug 2001 13:52:48 -0700 From: Aaron Bannert To: dev@httpd.apache.org Subject: [PATCH] default httpd.conf settings for worker MPM Message-ID: <20010827135248.B7084@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 Status: O X-Status: X-Keywords: X-UID: 1427 As the worker MPM is really an alternative to the threaded MPM (and hopefully it'll be a replacement), the httpd.conf settings are identical. -aaron Index: highperformance-std.conf =================================================================== RCS file: /home/cvspublic/httpd-2.0/docs/conf/highperformance-std.conf,v retrieving revision 1.5 diff -u -r1.5 highperformance-std.conf --- highperformance-std.conf 2001/08/12 15:44:18 1.5 +++ highperformance-std.conf 2001/08/27 20:49:20 @@ -34,6 +34,14 @@ ThreadsPerChild 25 + +MaxClients 8 +StartServers 3 +MinSpareThreads 5 +MaxSpareThreads 10 +ThreadsPerChild 25 + + # Assume no memory leaks at all MaxRequestsPerChild 0 Index: httpd-std.conf =================================================================== RCS file: /home/cvspublic/httpd-2.0/docs/conf/httpd-std.conf,v retrieving revision 1.44 diff -u -r1.44 httpd-std.conf --- httpd-std.conf 2001/08/23 15:17:02 1.44 +++ httpd-std.conf 2001/08/27 20:49:20 @@ -130,6 +130,22 @@ MaxRequestsPerChild 0 +# worker MPM +# StartServers: initial number of server processes to start +# MaxClients: maximum number of server processes allowed to start +# 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 +MaxSpareThreads 75 +ThreadsPerChild 25 +MaxRequestsPerChild 0 + + # perchild MPM # NumServers: constant number of server processes # StartThreads: initial number of worker threads in each server process