Date: Fri, 28 Jan 2005 04:34:43 -0800 From: "Loren M. Lang" <lorenl@alzatex.com> To: Nelis Lamprecht <nlamprecht@gmail.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: mystery /var space usage Message-ID: <20050128123443.GD8442@alzatex.com> In-Reply-To: <7cbadc8705012701523be61cfd@mail.gmail.com> References: <7cbadc8705012701523be61cfd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050128123443.GD8442>