From owner-freebsd-questions@FreeBSD.ORG Mon Jun 23 12:28:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B25661065678 for ; Mon, 23 Jun 2008 12:28:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 673C78FC1D for ; Mon, 23 Jun 2008 12:28:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:61968 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KAl96-0003ll-7k for freebsd-questions@freebsd.org; Mon, 23 Jun 2008 14:27:45 +0200 Received: (qmail 93743 invoked from network); 23 Jun 2008 14:27:41 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 23 Jun 2008 14:27:41 +0200 Received: (qmail 69314 invoked by uid 1001); 23 Jun 2008 14:27:41 +0200 Date: Mon, 23 Jun 2008 14:27:41 +0200 From: Erik Trulsson To: Artem Kuchin Message-ID: <20080623122741.GA69301@owl.midgard.homeip.net> References: <485F8CE1.8010409@itlegion.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485F8CE1.8010409@itlegion.ru> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1KAl96-0003ll-7k. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KAl96-0003ll-7k 9aba43ec2c7386e1c863707b89adafba Cc: "freebsd-questions@freebsd.org" Subject: Re: Strange Out of disk space 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: Mon, 23 Jun 2008 12:28:19 -0000 On Mon, Jun 23, 2008 at 03:45:37PM +0400, Artem Kuchin wrote: > Hello! > > Look at this: > > /dev/da0s1f 104164493 104061031 -8229697 109% /usr > > but > du -k -d1 /usr > gives a lot less (about 20GB). > > My guess is that something has mmap-ed a HUGE chunk of > disk space. If I reboot the space is freed. Much more likely is that some program has deleted a large file, while still holding it open. Usual suspect is some kind of log file, or temporary file. > > The question is how can i sees what process mmaped how much > space and where? > > -- Erik Trulsson ertr1013@student.uu.se