Date: Fri, 27 Apr 2012 11:06:47 -0500 From: "Efrain Dector" <efraindector@motumweb.com> To: <freebsd-stable@freebsd.org> Subject: Re: /var getting full Message-ID: <5CA9078D6B534BF9A216FFABEF037C15@CMOTUM25PC> In-Reply-To: <1335540545.66865.71.camel@revolution.hippie.lan> References: <4E9B7F6B991C46BF9CCBC03F72A56AFB@CMOTUM25PC> <1335540545.66865.71.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you all for your answers. Turns out that a Java process was using all of the space. I restarted it and the problem was solved. Thank you all for helping me to resolv this, also by giving me very useful commands that I will use in the future. -----Mensaje original----- From: Ian Lepore Sent: Friday, April 27, 2012 10:29 AM To: Efrain Dector Cc: freebsd-stable@freebsd.org Subject: Re: /var getting full On Fri, 2012-04-27 at 10:14 -0500, Efra醇^n D醇Pctor wrote: > Hello. I have a server using FreeBSD 8.2, and recently I’ve noticed that > /var is getting full But du hs /var shows me this: > > 14M /var/ > > How Can I know what is using var to free space? > > Thank you. > > OS info: > FreeBSD edh.edh 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 > 18:45:57 UTC 2011 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I would speculate that some process has unlinked a file but still has it open so the space is still in use. Try procstat -af | grep /var and look especially for lines that have a huge number in the OFFSET column (although I'm not sure that's definitive -- the file descriptor could be positioned at an offset less than the file size). -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CA9078D6B534BF9A216FFABEF037C15>