Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10205 invoked by uid 500); 20 Sep 2001 18:38:59 -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 10191 invoked from network); 20 Sep 2001 18:38:59 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Ryan Bloom Reply-To: rbb@covalent.net Organization: Covalent Technologies To: dev@httpd.apache.org, "Bill Stoddard" Subject: Re: [PATCH] update to default worker MPM config to match MaxClients fix Date: Thu, 20 Sep 2001 11:39:48 -0700 X-Mailer: KMail [version 1.3] References: <00dc01c14200$23a650e0$0c381b09@sashimi> In-Reply-To: <00dc01c14200$23a650e0$0c381b09@sashimi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010920183949.8B56846DFC@koj.rkbloom.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thursday 20 September 2001 11:14 am, Bill Stoddard wrote: > This last one is inconsistent with your other changes. In the threaded > MPM, a 'Server' by your defn is a thread. MaxRequestsPerChild is used to > limit the number of requests a 'process' serves before going away. > > In past discussions, we have almost settled on the notion of a "worker" as > being the thing capable of serving a request. > > MinSpareWorkers > MaxSpareWorkers > > StartWorkers - ??? What do we want the option to do? Startup this number of > worker threads or startup this number of child processes? I think we want to keep Start* as the number of processes to start, because otherwise, we have to deal with people asking for 30 threads to start, and 25 threads per process. In that case, we would have to tweak their values. I would prefer to do that as little as possible. > WorkersPerProcess > MaxRequestsPerChild (or MaxRequestsPerProcess) > > > Okay, changing topics only slightly... how about we replace > MinSpare[Threads|Servers|Workers] and MaxSpare[Threads|Servers|workers] > with a single directive, Spare[Threads|Servers|Workers]? How would you do that? We want the range, so that we don't have to kill of servers unless we have too many. I guess my only complaint with a single directive, is that it is removing control. Instead of being able to say, leave between 5 and 10 processes waiting idle, we have to say leave 8 processes waiting idle. Ryan ______________________________________________________________ Ryan Bloom rbb@apache.org Covalent Technologies rbb@covalent.net --------------------------------------------------------------