From owner-freebsd-stable@FreeBSD.ORG Fri Apr 27 15:30:14 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86B4D106567C for ; Fri, 27 Apr 2012 15:30:14 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id 2DFCF8FC1B for ; Fri, 27 Apr 2012 15:30:14 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta13.emeryville.ca.mail.comcast.net with comcast id 312u1j0031vN32cAD3V8MZ; Fri, 27 Apr 2012 15:29:08 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta22.emeryville.ca.mail.comcast.net with comcast id 33V71j00W4NgCEG8i3V7Fn; Fri, 27 Apr 2012 15:29:08 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q3RFT5Db076807; Fri, 27 Apr 2012 09:29:05 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: =?ISO-8859-1?Q?Efra=EDn_D=E9ctor?= In-Reply-To: <4E9B7F6B991C46BF9CCBC03F72A56AFB@CMOTUM25PC> References: <4E9B7F6B991C46BF9CCBC03F72A56AFB@CMOTUM25PC> Content-Type: text/plain; charset="euc-jp" Date: Fri, 27 Apr 2012 09:29:05 -0600 Message-ID: <1335540545.66865.71.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: "freebsd-stable@freebsd.org" Subject: Re: /var getting full X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2012 15:30:14 -0000 On Fri, 2012-04-27 at 10:14 -0500, Efra«żn D«±ctor 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