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

Re: Something eating diskspace in Testing



On 02/16/18 21:51, Johan DS wrote:
hi
I have testing installed with a separete /Home partition.

My root partition /dev/sda2 is slowly filling up. In a few hours it goes
from 7GB to 15GB.
Until there is no more space. I used ncdu. And also did
ls and finds for big files and/or directories . But I can not find a file
or directory that eats up space.

Any body a clou?

Unix has a feature whereby a program can open a file, save the file handle, and then unlink the file. Once unlinked, the file is inaccessible to most (all?) other programs, but the originating program can still access the file contents via the saved file handle. When the program closes the file handle, the file contents on disk are freed. See unlink(2).


So, you could have a process that uses the above trick to create and write to a file (likely a temporary file), but never stops writing.


In any case, I would try lsof(8).


David


Reply to: