Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #192530

Re: Something eating diskspace in Testing

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Something eating diskspace in Testing
Date 2018-02-17 07:20 +0100
Message-ID <vk40N-37H-3@gated-at.bofh.it> (permalink)
References <vk3Hr-2FK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Something eating diskspace in Testing Johan DS <victor3xray@gmail.com> - 2018-02-17 07:00 +0100
  Re: Something eating diskspace in Testing David Christensen <dpchrist@holgerdanske.com> - 2018-02-17 07:20 +0100
    Re: Something eating diskspace in Testing Roberto C. Sánchez <roberto@debian.org> - 2018-02-17 15:00 +0100
  Re: Something eating diskspace in Testing rhkramer@gmail.com - 2018-02-17 14:50 +0100

csiph-web