Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 35601 invoked from network); 10 Mar 2004 18:08:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Mar 2004 18:08:20 -0000 Received: (qmail 9939 invoked by uid 500); 10 Mar 2004 18:08:12 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 9894 invoked by uid 500); 10 Mar 2004 18:08:12 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 9880 invoked from network); 10 Mar 2004 18:08:12 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 10 Mar 2004 18:08:12 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id C6B0F1E17A9 for ; Wed, 10 Mar 2004 19:08:14 +0100 (CET) Message-ID: <404F598C.9080206@stason.org> Date: Wed, 10 Mar 2004 10:08:12 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: MaxClients error References: <20040310152429.GR1470@knowmad.com> In-Reply-To: <20040310152429.GR1470@knowmad.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N William McKee wrote: > Hi Stas et al, > > I'm receiving the following error message in the error.log output during > my tests: > > [error] server reached MaxClients setting, consider raising the MaxClients setting > > So, I added the line 'MaxClients 5' to my extra.conf.in and reconfigured > the server. I'm still getting the error. I checked that extra.conf was > properly rebuilt and checked httpd.conf to make sure that extra.conf was > being included after the other calls that set MaxClients to 1. It > appears to me that is the case. Can someone tell me what I'm overlooking > or what setting I should be modifying to stop receiving this error in my > logs? May be because you can set it only once? In any case, the proper way to set it is via override of new_test_config in t/TEST.PL or whereever you defined the sub-class of Apache::TestRunPerl that you run from t/TEST use constant MIN_MAXCLIENTS => 5; sub new_test_config { my $self = shift; $self->{conf_opts}->{maxclients} ||= MIN_MAXCLIENTS; return $self->SUPER::new_test_config; } Look at modperl-2.0/ModPerl-Registry/t/TEST.PL __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com