From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 12:34:45 2005 Return-Path: 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 C1EA916A4CE for ; Fri, 28 Jan 2005 12:34:45 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4C8943D31 for ; Fri, 28 Jan 2005 12:34:44 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j0SCYiYs009926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Jan 2005 04:34:44 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j0SCYhO4009924; Fri, 28 Jan 2005 04:34:43 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Fri, 28 Jan 2005 04:34:43 -0800 From: "Loren M. Lang" To: Nelis Lamprecht Message-ID: <20050128123443.GD8442@alzatex.com> References: <7cbadc8705012701523be61cfd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7cbadc8705012701523be61cfd@mail.gmail.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: FreeBSD Questions Subject: Re: mystery /var space usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 12:34:45 -0000 On Thu, Jan 27, 2005 at 11:52:23AM +0200, Nelis Lamprecht wrote: > Hi, > > This is not one of those "I've run out of space on /var issues" but > rather "what the hell is using up the space" issue. > > My /var file system shows: > > /dev/amrd0s1e 9.8G 4.8G 4.2G 53% /var > > A du -h of /var shows a total of 616M data only. First thing that came > to mind is some process which is holding onto data so I tried > restarting various daemons - cyrus, imapd, exim, apache and still no > change. I've checked with fstat and lsof to see if I can see anything > suspicious but nothing out of the ordinary shows up. I find lsof very helpful in this case. It even tells you the sizes of deleted files that are still held open by which process. > > Baring in mind this is a production mail server with about 60 000 > accounts, does anyone have any other suggestions which I might try ? I > could just boot into single user mode and back out which will probably > solve my problem now but for obvious reasons I would like to know what > is causing the added usage of /var. I'm running 4.10 currently but > plan to update that to 4.11 if I have to reboot. > > Thanks for your reply. > > Regards, > Nelis > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C