Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 50237 invoked from network); 11 Nov 2009 17:27:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Nov 2009 17:27:32 -0000 Received: (qmail 99041 invoked by uid 500); 11 Nov 2009 17:27:31 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 98969 invoked by uid 500); 11 Nov 2009 17:27:31 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 98959 invoked by uid 99); 11 Nov 2009 17:27:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 17:27:31 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [171.66.121.166] (HELO highwire.stanford.edu) (171.66.121.166) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2009 17:27:29 +0000 Received: from hw-durket.stanford.edu (hw-durket.Stanford.EDU [171.66.233.214]) by highwire.stanford.edu (Postfix) with ESMTP id 999358DE7 for ; Wed, 11 Nov 2009 09:27:08 -0800 (PST) References: <4A874E3C.5090304@apache.org> <61C5FEB8-474F-4571-8EB1-5CFA0D2D53B4@highwire.stanford.edu> <20170a030911101445x5939587dq7af6386f98c4150b@mail.gmail.com> <1404e5910911110726g77f5c759s3556ff03e5214c83@mail.gmail.com> In-Reply-To: <1404e5910911110726g77f5c759s3556ff03e5214c83@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: quoted-printable From: Michael Durket Subject: Re: post-config phase question Date: Wed, 11 Nov 2009 09:27:08 -0800 To: modules-dev@httpd.apache.org X-Mailer: Apple Mail (2.1077) Actually, I think it had to do with my trace function. Instead of using = an ap_log_error call I was using fprintf for a very quick-and-dirty solution. Once I stopped = doing that the=20 multiple copies of the messages went away. I thought I could get away = with=20 using fprintf this time, but obviously not. On Nov 11, 2009, at 7:26 AM, Eric Covener wrote: > On Wed, Nov 11, 2009 at 10:06 AM, Michael Durket > wrote: >> Weird, because I'm tracing the entry to post-config in my code and = the second >> phase seems to be called 8 times which on my system is the value = listed in the StartServers >> directive. >=20 > Sounds like you're either hooked into child_init or calling some code > from both post_config and child_init -- can you post the smallest > working module that demonstrates it? >=20 > (also on Windows, 4 times is normal -- 2 in the parent and 2 in the = child) >=20 > --=20 > Eric Covener > covener@gmail.com