Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 14:27:41 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Artem Kuchin <matrix@itlegion.ru>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Strange Out of disk space
Message-ID:  <20080623122741.GA69301@owl.midgard.homeip.net>
In-Reply-To: <485F8CE1.8010409@itlegion.ru>
References:  <485F8CE1.8010409@itlegion.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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?
> 
> 



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080623122741.GA69301>