Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 95590 invoked from network); 21 Jun 2005 16:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jun 2005 16:02:15 -0000 Received: (qmail 8095 invoked by uid 500); 21 Jun 2005 16:02:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 8074 invoked by uid 500); 21 Jun 2005 16:02:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 8056 invoked by uid 99); 21 Jun 2005 16:02:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 09:02:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.208.134.101] (HELO mailguard.lechateau.ca) (216.208.134.101) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 09:02:02 -0700 Received: from exchange.lechateau.ca (exchange.lechateau.ca [172.16.160.24]) by mailguard.lechateau.ca (Clearswift SMTPRS 5.0.4) with ESMTP id for ; Tue, 21 Jun 2005 12:01:37 -0400 Received: by exchange.lechateau.ca with Internet Mail Service (5.5.2653.19) id ; Tue, 21 Jun 2005 12:02:36 -0400 Message-ID: <87AC8828BF8F974CAC4B57D4ABBA5C093F6A1B@exchange.lechateau.ca> From: Michael Caplan To: "'users@httpd.apache.org'" Date: Tue, 21 Jun 2005 12:02:35 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [users@httpd] Strategies for debugging a segmentation fault o n a production ser ver X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Joshua, Thanks for the tips. Forensic looks like it certainly do the trick. I'm going to give that a spin. For 1.3.33, do you know if CoreCumpDirectory is set, if it will generate a dump when running in non-debug mode? Thanks again, Michael > -----Original Message----- > From: Joshua Slive [mailto:jslive@gmail.com] > Sent: Tuesday, June 21, 2005 8:11 AM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Strategies for debugging a segmentation fault > on a production ser ver >=20 > On 6/21/05, Michael Caplan wrote: > > I am looking for some advice on how to go about debugging Apache 1.3.33 > / > > PHP 5.0.4 on a production Linux box (RHE 3). The scenario is this: > Once a > > day we find a segfault in our apache logs. From our current position, > we > > don't know what page was accessed, and our 400+ users haven't brought > the > > issue to our attention. All we know is the date/time and PID of when > the > > segfault occurred. The question is this: how can we go about isolating > the > > offending requested page that bombs? >=20 > With a little luck, you can get apache to leave you a core file that > can later be loaded in gdb to find the problem. See: > http://httpd.apache.org/docs-2.0/mod/mpm_common.html#coredumpdirectory >=20 > Another alternative is mod_log_forensic: > http://httpd.apache.org/docs-2.0/mod/mod_log_forensic.html > which is designed to isolate requests that cause a crash. >=20 > Joshua. >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org CONFIDENTIALITY NOTICE This message contains confidential information intended only for the use of the individual or entity named as recipient. Any dissemination, distribution or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify us and delete your copy. Thank you. AVIS DE CONFIDENTIALIT=C9 Les informations contenues aux pr=E9sentes sont de nature privil=E9gi=E9e et confidentielle. Elles ne peuvent =EAtre utilis=E9es que par la personne ou l'entit=E9 dont le nom para=EEt comme destinataire. Si le lecteur du pr=E9s= ent message n'est pas le destinataire pr=E9vu, il est par les pr=E9sentes pri= =E9 de noter qu'il est strictement interdit de divulguer, de distribuer ou de copier ce message. Si ce message vous a =E9t=E9 transmis par m=E9garde, veu= illez nous en aviser imm=E9diatement et supprimer votre copie. Merci. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org