"Leaking" disk space

Daniel O'Callaghan danny at clari.net.au
Wed Mar 20 23:09:11 UTC 2013


On 21/03/2013 3:55 AM, Dan Thomas wrote:
> Stopping Postgres doesn't fix it, but rebooting does which points at
Have you used fstat to identify the big growing file which is taking up 
the space, and which process has the file open?
A file which has been unlinked from all directories won't be seen by du, 
but it does not free disk space until no process has it open.

USER     CMD          PID   FD MOUNT      INUM MODE SZ|DV R/W
root     syslogd    47648    8 /        4317027 -rw-r--r--   19776  w
root     syslogd    47648    9 /        4317041 -rw-------      63  w

That might help to track it down.

Danny



More information about the freebsd-questions mailing list