From owner-freebsd-questions@FreeBSD.ORG Sun Nov 26 20:32:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C11A716A412 for ; Sun, 26 Nov 2006 20:32:18 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55211442E8 for ; Sun, 26 Nov 2006 20:11:16 +0000 (GMT) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.localdomain (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id A08645193B for ; Sun, 26 Nov 2006 15:11:53 -0500 (EST) From: RW To: freebsd-questions@freebsd.org Date: Sun, 26 Nov 2006 20:11:51 +0000 User-Agent: KMail/1.9.4 References: <200611261037.18806.odilist@sonic.net> <20061126185408.GB686@pubbox.net> <200611261121.14330.odilist@sonic.net> In-Reply-To: <200611261121.14330.odilist@sonic.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611262011.51178.fbsd06@mlists.homeunix.com> Subject: Re: cleaning out log files? 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: Sun, 26 Nov 2006 20:32:18 -0000 On Sunday 26 November 2006 19:21, Oliver Iberien wrote: > Thank you! I knew something like that had to exist. > > It turns out there was a core dump I had not noticed. I had the idea of > running ls -SlhR /var/ > /.../var_contents.txt and looking for anything > huge. > FreeBSD has some useful periodic scripts for keeping this kind of thing under control - most of which are off by default. You can see the defaults in /etc/defaults/periodic.conf and override them in /etc/periodic.conf For example: # 100.clean-disks daily_clean_disks_enable="NO" # Delete files daily daily_clean_disks_files="[#,]* .#* a.out *.core *.CKP .emacs_[0-9]*" daily_clean_disks_days=3 # If older than this daily_clean_disks_verbose="YES" # Mention files deleted