From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 24 21:15:10 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C6D31065689 for ; Mon, 24 Oct 2011 21:15:10 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D38698FC14 for ; Mon, 24 Oct 2011 21:15:09 +0000 (UTC) Received: by faar19 with SMTP id r19so121654faa.13 for ; Mon, 24 Oct 2011 14:15:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.17.3 with SMTP id q3mr45848683faa.28.1319489535524; Mon, 24 Oct 2011 13:52:15 -0700 (PDT) Received: by 10.223.96.133 with HTTP; Mon, 24 Oct 2011 13:52:15 -0700 (PDT) X-Originating-IP: [216.223.13.144] Date: Mon, 24 Oct 2011 16:52:15 -0400 Message-ID: From: Mark Saad To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Apache Corefile issues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2011 21:15:10 -0000 Hackers I have a strange apache issue , and I wonder if anyone has seen this before. I am running Apache 1.3.34 on freeBSD 7.3-RELEASE amd64 . At some point in the day apache's children segfault and die. No core files are generated. I am not running mod_php either. 1. I have setup the following sysctls #Debug options kern.sugid_coredump=1 kern.corefile="/var/coredumps/%U-%N-%P.core" 2. The httpd.conf is set with CoreDumpDirectory /var/coredumps/ 3. The dir /var/coredumps/ is set 1777 4. A ktrace of the parrent apache process shows the core file tries to create 84954 libhttpd.ep RET kill 0 84954 libhttpd.ep CALL sigreturn(0x7ffffffeb030) 84954 libhttpd.ep RET sigreturn JUSTRETURN 84954 libhttpd.ep PSIG SIGSEGV SIG_DFL 84954 libhttpd.ep NAMI ""/var/coredumps/65534-libhttpd.ep-84954.core"" 34924 libhttpd.ep RET select 0 34924 libhttpd.ep CALL gettimeofday(0x7fffffffe890,0) 34924 libhttpd.ep RET gettimeofday 0 34924 libhttpd.ep CALL fork 5. I have proc mounted and I can't gcore -s $PID either I have no cores and I am stumped . -- mark saad | nonesuch@longcount.org