Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 19458 invoked by uid 6000); 4 Jan 1999 22:59:41 -0000 Received: (qmail 19450 invoked from network); 4 Jan 1999 22:59:40 -0000 Received: from smtp.lerdorf.on.ca (HELO sunlab.bellglobal.com) (199.243.250.75) by taz.hyperreal.org with SMTP; 4 Jan 1999 22:59:40 -0000 Received: from collective.lerdorf.on.ca (collective.lerdorf.on.ca [207.164.141.23]) by sunlab.bellglobal.com (8.9.1/8.8.8) with ESMTP id SAA23313 for ; Mon, 4 Jan 1999 18:01:49 -0500 (EST) Date: Mon, 4 Jan 1999 17:59:36 -0500 (Eastern Standard Time) From: Rasmus Lerdorf To: new-httpd@apache.org Subject: Re: cvs commit: apache-1.3/src/main http_main.c In-Reply-To: Message-ID: X-X-Sender: rasmus@imap3.bellglobal.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org > My other suggestion would probably work better though -- use SIGUSR2 > between parent and child, and stick in a SIGALRM handler which logs "hey > there, wow, I got a SIGALRM, you've got a screwed up module!" Then you'll > find out if in fact you do have the bug. (And if you install the handler > with SA_RESTART then you don't even need to fix up anything.) I like this approach. It's pretty rough debugging this stuff from a PHP perspective because I am pulling in a whole bunch of 3rd-party libraries. It is hard to figure out what exactly these libraries are doing sometimes, especially for the ones that do not come with source. -Rasmus