From owner-freebsd-questions@FreeBSD.ORG  Fri Oct 12 13:22:06 2007
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CFD8116A469
	for <questions@freebsd.org>; Fri, 12 Oct 2007 13:22:06 +0000 (UTC)
	(envelope-from toomas.aas@raad.tartu.ee)
Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [194.126.106.100])
	by mx1.freebsd.org (Postfix) with ESMTP id 6F84613C46A
	for <questions@freebsd.org>; Fri, 12 Oct 2007 13:22:06 +0000 (UTC)
	(envelope-from toomas.aas@raad.tartu.ee)
Received: from localhost (localhost [127.0.0.1])
	by kuller.raad.tartu.ee (Postfix) with ESMTP id 52A11B81A
	for <questions@freebsd.org>; Fri, 12 Oct 2007 15:51:03 +0300 (EEST)
X-Virus-Scanned: amavisd-new at post.raad.tartu.ee
Received: from kuller.raad.tartu.ee ([127.0.0.1])
	by localhost (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id MdzwfMYH3Ehz for <questions@freebsd.org>;
	Fri, 12 Oct 2007 15:51:02 +0300 (EEST)
Received: from raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110])
	by kuller.raad.tartu.ee (Postfix) with ESMTP id 0F81DB815
	for <questions@freebsd.org>; Fri, 12 Oct 2007 15:51:02 +0300 (EEST)
Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48);
	12 Oct 07 15:51:02 +0300
Received: from SpoolDir by INFO (Mercury 1.48); 12 Oct 07 15:50:40 +0300
Received: from [172.26.1.6] (172.26.1.6) by raad.tartu.ee (Mercury 1.48) with
	ESMTP; 12 Oct 07 15:50:33 +0300
Message-ID: <470F6D98.8020906@raad.tartu.ee>
Date: Fri, 12 Oct 2007 15:50:32 +0300
From: Toomas Aas <toomas.aas@raad.tartu.ee>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: questions@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Getting coredumps from Apache
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Oct 2007 13:22:06 -0000

Hello!

I have apache22 (with standard prefork mpm) and php5 (Apache module) 
installed from ports. I'm noticing a lot of httpd children dying with 
signal 11 messages and would like to get a coredump in order to diagnose 
the problem. However, I can't get any coredumps from Apache.

I created a directory for coredumps:

# ls -ld /var/apache
drwxrwxrwx  2 www  wheel  512 Oct 12 14:12 /var/apache

Added this to httpd.conf:

CoreDumpDirectory /var/apache

and set

sysctl kern.sugid_coredump=1

Made sure there are no process limits applied to Apache.

Restarted Apache

Signal 11 errors continue, but nothing gets recorded to /var/amanda.

What am I missing?

-- 
Toomas Aas