From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 24 21:59:46 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 C264D106566B for ; Mon, 24 Oct 2011 21:59:46 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3942B8FC14 for ; Mon, 24 Oct 2011 21:59:45 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id p9OLQeNL076513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 24 Oct 2011 23:26:41 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id p9OLQatI007984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Oct 2011 23:26:36 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id p9OLQa1K035992; Mon, 24 Oct 2011 23:26:36 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id p9OLQai0035991; Mon, 24 Oct 2011 23:26:36 +0200 (CEST) (envelope-from ticso) Date: Mon, 24 Oct 2011 23:26:36 +0200 From: Bernd Walter To: Mark Saad Message-ID: <20111024212636.GS55289@cicely7.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-hackers@freebsd.org Subject: Re: Apache Corefile issues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de 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:59:46 -0000 On Mon, Oct 24, 2011 at 04:52:15PM -0400, Mark Saad wrote: > 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. Apache 1.x isn't really advised since many many years, but I assume you have very special reasons to stay with it? > 1. I have setup the following sysctls > > #Debug options > kern.sugid_coredump=1 > kern.corefile="/var/coredumps/%U-%N-%P.core" Don't use quotes here. > 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"" It's double quoted here - one to frame the filename and one as part of the filename itself. I guess your / directory don't contain a subdirectory named ". > 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.