From owner-freebsd-questions Mon Oct 22 19:49:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id 729E537B403 for ; Mon, 22 Oct 2001 19:49:35 -0700 (PDT) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id f9N2nTw16999; Mon, 22 Oct 2001 19:49:29 -0700 (PDT) Date: Mon, 22 Oct 2001 19:49:29 -0700 (PDT) From: David Kirchner X-X-Sender: To: Kory Hamzeh Cc: Subject: Re: Missing core file? In-Reply-To: <005301c15b6c$eee40100$14ce21c7@avatar.com> Message-ID: <20011022194712.M85958-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 22 Oct 2001, Kory Hamzeh wrote: > > I have a native binary CGI web app that seems to be crashing every now and > then with signal 11 (SIGSEGV). But for the life of me, I can't find any core > files afterwards. Is there some place specific that core files are placed or > do I need to enable them? I've seen core files from other apps sprinkled > here and there. > > Thanks, > Kory By default core dumps are placed in the "current working directory" for the program, I believe. If the process doesn't have write-access to that directory, no core dump will be created. You can change the place coredumps will go by setting "kern.corefile=/path/%N.core" with sysctl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message