From owner-freebsd-stable Mon Sep 20 11:47:47 1999 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 33B7915DEF for ; Mon, 20 Sep 1999 11:47:39 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id MAA08068; Mon, 20 Sep 1999 12:03:49 -0700 (PDT) Date: Mon, 20 Sep 1999 12:03:49 -0700 (PDT) From: Alfred Perlstein To: Jamie Norwood Cc: Parag Patel , freebsd-stable@FreeBSD.ORG Subject: Re: App core-files being dumped with 0 size on 3.3-STABLE In-Reply-To: <19990920112417.A41519@mushhaven.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Sep 1999, Jamie Norwood wrote: > On Mon, Sep 20, 1999 at 11:09:58AM -0700, Parag Patel wrote: > > > > I just updated this morning to 3.3-STABLE from 3.2-STABLE, and I have > > both my ulimit and /etc/login.conf set so that coredumpsize is zero. > > Until 3.3-RELEASE, this prevented any core file from being generated. > > In 3.3-RELEASE, I now get a zero-length file. > > > > I see from the CVS log that some cleanup was done to the core-dump code > > in kern/kern_sig.c on Sep 1, 1999. This code has a comment in it saying > > that this is now the expected behavior. > > This is how I always have seen *NIX systems behave... > > You could write a script based off the find command that you could run once > a day that would go through and remove all core files... I've answered this question before... sysctl -w kern.corefile="/dev/null" ought to work. If it is somehow broken, please tell me and I'll look into it. -Alfred Perlstein - [bright@rush.net|alfred@freebsd.org] Wintelcom systems administrator and programmer - http://www.wintelcom.net/ [bright@wintelcom.net] > > Jamie > > > > > So how do I get it to not dump any core file at all? I do not want > > core-dump files being scattered all over my disk-drive like so many > > kernel droppings, zero-length or not. (I find them next to useless. If > > it's a program I'm developing or debugging, I'm generally working on it > > anyway, and if it isn't, I throw it out or relaunch if it's netscape.) > > > > Thanks! > > > > > > -- Parag Patel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message