[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Searching for process filling root FS.



On Mon, May 20, 2013 at 12:06:11PM +0700, Sthu Deus wrote:
> Good time of the day.
> 
> 
> I watch carefully disk space on my root device i try to find the
> culprit that fills the space.
> 
> For example, i have free space only 100 MiB. After 2-3 hours space is
> gone. After reboot i see the space again.
> 
> What i did is "du -ms" for every dir. on the disk only (not
> for /dev, /sys, ...) - before i have the space and after it vanished
> away.
> 
> The interesting point is that though total free disk spaces are
> different for the amount of MiB, yet every dir. size is the same or 2-3
> of it differs no more that 1 MiB.
> 
> So question is, how it may be? Is it so large calculations drift ?

OK, so your directory sizes aren't changing but you're losing space. It
might be that an application is writing to a deleted file (unpacking or
streaming to a temporary file, for example).

Try running "iotop -a" as root, then use cursors to move the sort column
to "DISK WRITE". Leave that running for a few minutes and you'll be able
to see which processes are writing the most data.

Attachment: signature.asc
Description: Digital signature


Reply to: