From owner-freebsd-questions@FreeBSD.ORG Fri Nov 10 22:17:52 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B66316A547 for ; Fri, 10 Nov 2006 22:17:52 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BBE643D53 for ; Fri, 10 Nov 2006 22:17:50 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host155-42.pool8174.interbusiness.it [81.74.42.155] (may be forged)) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-2) with ESMTP id kAAMHCpf031405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 11 Nov 2006 00:17:19 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id kAAMH7mZ054810; Fri, 10 Nov 2006 23:17:07 +0100 (CET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id kAAMH63m054809; Fri, 10 Nov 2006 23:17:06 +0100 (CET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 10 Nov 2006 23:17:06 +0100 From: Giorgos Keramidas To: Jim Pazarena Message-ID: <20061110221706.GB54405@kobe.laptop> References: <4554E3C7.7060004@ccstores.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4554E3C7.7060004@ccstores.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.566, required 5, autolearn=not spam, AWL 0.90, BAYES_00 -2.60, FORGED_RCVD_HELO 0.14, UNPARSEABLE_RELAY 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: questions@freebsd.org Subject: Re: core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 22:17:52 -0000 On 2006-11-10 12:40, Jim Pazarena wrote: > is there any way to have NO core dumps? ..aside from never causing one :) > > I mean, can you compile something into the kernel to prevent core dumps? > I've never found it necessary to examine one in many years, and cannot > foresee ever having to do it. You don't have to compile anything into the kernel. There is a sysctl you can tweak, to enable and/or disable core dumps by processes: # sysctl kern.coredump=0 To make the setting permanent, set it in your `/etc/sysctl.conf' file too, without the 'sysctl' command: kern.coredump=0 - Giorgos