Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 55245 invoked from network); 30 Sep 2003 23:25:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Sep 2003 23:25:14 -0000 Received: (qmail 69988 invoked by uid 500); 30 Sep 2003 23:24:59 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 69958 invoked by uid 500); 30 Sep 2003 23:24:58 -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 69945 invoked from network); 30 Sep 2003 23:24:58 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 30 Sep 2003 23:24:58 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 2D82B79754 for ; Wed, 1 Oct 2003 01:25:04 +0200 (CEST) Message-ID: <3F7A10CC.3030600@stason.org> Date: Tue, 30 Sep 2003 16:25:00 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: removing httpd -X from 1.3 environment References: <3F7472AC.8060908@modperlcookbook.org> In-Reply-To: <3F7472AC.8060908@modperlcookbook.org> 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 Geoffrey Young wrote: > hi all... > > I was thinking recently about how with 2.0 we rely on MaxClients to > control the number of child processes, but with 1.3 we rely on httpd -X. > > I'm not sure that we need to limit the ability of 1.3 to run multiple > children if somebody comes up with a test that requires it. and we all > know that httpd -X is not the same as running with a single child, so > whatever the test suite is doing is not really the same as a real > environment. > > I'm thinking/hoping that -X is a carryover from the old Apache::test > environment, and nobody actually relies on -X behaviors (which would be > a bad testing practice anyway :) > > at any rate, here is a patch that changes httpd -X to a setting that > defaults to MaxClients 1. I get the same results from the > perl-framework with and without the change (lots of failures currently, > but they are the same failures with both setups). > > as far as changed behaviors, the only thing I noticed was that if some > perl libraries cannot be found, the startup times out and the @INC > errors are placed in the error_log. without the patch the @INC error is > shown and the server exits immediately. the good thing (for me, anyway) > is that r->child_terminate now works, allowing the server to change > children mid-test :) +1 apache-1.3 tests fails the same way for me. I did successfully run Apache::Peek tests with your patch under 1.3. __________________________________________________________________ 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