From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 19:23:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29F3E1065673 for ; Wed, 3 Sep 2008 19:23:28 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id AFA138FC08 for ; Wed, 3 Sep 2008 19:23:27 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kaxwq-00041x-CA for freebsd-questions@freebsd.org; Wed, 03 Sep 2008 19:23:24 +0000 Received: from pool-141-156-180-91.esr.east.verizon.net ([141.156.180.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 19:23:24 +0000 Received: from nightrecon by pool-141-156-180-91.esr.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 19:23:24 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Wed, 03 Sep 2008 15:25:28 -0400 Lines: 46 Message-ID: References: <20080903150007.6525ff58@scorpio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-141-156-180-91.esr.east.verizon.net Sender: news Subject: Re: Segmentation fault & Apache-2.2.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 19:23:28 -0000 Gerard wrote: > I continue to see varying amounts of chatter in the 'httpd-error.log' > file. This is a snipped of what is being written to the file. > > > ************************************************** > > [Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest > [authentication ... Wed Sep 03 06:59:31 2008] [notice] Digest: done > [Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 > [OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- > [resuming normal operations Wed Sep 03 08:28:11 2008] [notice] child pid > [1039 exit signal Segmentation fault (11) Wed Sep 03 08:56:01 2008] > [[notice] child pid 989 exit signal Segmentation fault (11) Wed Sep 03 > [09:29:00 2008] [notice] child pid 1692 exit signal Segmentation fault > [(11) Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal > [Segmentation fault (11) > > > ************************************************** > > Some days there may be twenty or more 'segmentation fault' messages. How > can I debug this to see what is crashing and why? Everything appears to > be operating correctly. > > Easiest thing to try quickly as a stab in the dark is to comment out extension=hash.so in your extensions.ini and restart apache. I and others have had trouble with this one. However, when this particular problem surfaced for me Apache wouldn't start at all, so maybe you're seeing something else. This is just a quick "rule out a possible", but deeper investigation is probably warranted in your case. If this doesn't make any difference you can crank up the logging levels in both the Apache config and the php.ini both. Instructions are in the commented out sections of the relevant files. Careful here especially with the php.ini as you don't want the output showing to surfers. Sometimes truss can be a potentially helpful utility. The -f switch will allow it to look at child processes as they fork. truss -f -p [The "root" Apache PID] -Mike