Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DF01107C5 for ; Mon, 2 Sep 2013 17:35:38 +0000 (UTC) Received: (qmail 50327 invoked by uid 500); 2 Sep 2013 17:35:36 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 50285 invoked by uid 500); 2 Sep 2013 17:35:36 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 50278 invoked by uid 99); 2 Sep 2013 17:35:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 17:35:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of trawick@gmail.com designates 209.85.217.178 as permitted sender) Received: from [209.85.217.178] (HELO mail-lb0-f178.google.com) (209.85.217.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 17:35:30 +0000 Received: by mail-lb0-f178.google.com with SMTP id z5so4257333lbh.9 for ; Mon, 02 Sep 2013 10:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OCiJzUYhEHqc84yApLgN1gOfv2we4FMX/bBeAourPRo=; b=DRRA2o/9K/I9UuwwENPZNjY8i/136cFh3aT5O/qBS0EQ6Rfuh1WRCYcscDVQ7kTNhK TFsXfmkcOyez0aN3Ib2pGf1Eh5EhAKJMlNnivGoKcyBZxln0GXaXvrMB5L43e9319V5r KkLoW7YNgQGR7aJcsSJAs0gzkkVYtiqKRDyERy2WiPNCeU6h8/mTv0jCRSsh3KhMT03N GWb8mhXvKhVnd2xKs5IcZAYEZgNw2W6z1ZeDjYUNznWi/5qjQ0oNm/n3MAGO6KelLUOy C+/D7dx4hZDdo5dsniULFMhiDgHbJtkahOLKEH0gtX4PT9P1sYpQ/WZseLeUgsaihdTq f4jw== MIME-Version: 1.0 X-Received: by 10.112.51.101 with SMTP id j5mr21695330lbo.17.1378143308790; Mon, 02 Sep 2013 10:35:08 -0700 (PDT) Received: by 10.114.184.99 with HTTP; Mon, 2 Sep 2013 10:35:08 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Sep 2013 13:35:08 -0400 Message-ID: Subject: Re: Debugging "segmentation fault" From: Jeff Trawick To: Igor Chudov Cc: Mod_Perl Content-Type: multipart/alternative; boundary=001a113364605ec10304e569feac X-Virus-Checked: Checked by ClamAV on apache.org --001a113364605ec10304e569feac Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 2, 2013 at 1:12 PM, Igor Chudov wrote: > I run a busy website algebra.com on a CentOS server. > > Occasionally, apache processes crash with a "segmentation fault". > > I often get 140+ object requests per second, so isolating which request > caused segfault, by looking at logs, is not practicable. > > I want to know if I can at least isolate the cause of the problem to a URL > (webpage) that caused it to crash. A stack dump would be ideal, but if I > can get URL and parameters, that would already be very nice. > > Any suggestions? > non-Perl-specific: mod_log_forensic http://httpd.apache.org/docs/2.2/mod/mod_log_forensic.html mod_whatkilledus (usually with mod_backtrace): http://emptyhammock.com/projects/httpd/diag/legacy_exception_hook.html http://emptyhammock.com/projects/httpd/diag/index.html -- Born in Roswell... married an alien... http://emptyhammock.com/ --001a113364605ec10304e569feac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Sep 2, 2013 at 1:12 PM, Igor Chudov <ichudov@gmai= l.com> wrote:
I run a busy website algebra.com on a CentOS server.

Occasionally, apache processes crash with a "segmentati= on fault".

I often get 140+ object requests per sec= ond, so isolating which request caused segfault, by looking at logs, is not= practicable.

I want to know if I can at least isolate the caus= e of the problem to a URL (webpage) that caused it to crash. A stack dump w= ould be ideal, but if I can get URL and parameters, that would already be v= ery nice.=A0

Any suggestions?

non-Perl-specific:
<= br>
mod_log_forensic

mod_whatkil= ledus (usually with mod_backtrace):
http://emptyhammock.com/pr= ojects/httpd/diag/legacy_exception_hook.html


--
Born in Roswell... married= an alien...
http= ://emptyhammock.com/
--001a113364605ec10304e569feac--