Date: Fri, 22 Mar 2013 11:41:52 +0000 From: Dan Thomas <godders@gmail.com> To: Bernt Hansson <bah@bananmonarki.se> Cc: Daniel O'Callaghan <danny@clari.net.au>, freebsd-questions@freebsd.org Subject: Re: "Leaking" disk space Message-ID: <CAG8duQ2Efx32hkrXnawzeH6esN%2Bdcv5tzg7Mt-H1wnfsHeH6Ug@mail.gmail.com> In-Reply-To: <514B0962.7080606@bananmonarki.se> References: <CAG8duQ1cjVWbWDUBEoEH6uLEWkU5mqgs%2BnHjDGuvPMvpW8qLSQ@mail.gmail.com> <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> <CAG8duQ0MWGg9MmDNwFJV90DXXNUfJc2YMRkV3z0BZGk8ZrMnEw@mail.gmail.com> <514A416C.1040706@clari.net.au> <CAG8duQ1wJkK6ygqP_P2qY==kGW2eHuGDtMtzYfY9CURhdAbUUQ@mail.gmail.com> <514B0962.7080606@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
> A stab in the dark, but does # sync change anything Alas, no. On 21 March 2013 13:21, Bernt Hansson <bah@bananmonarki.se> wrote: > On 2013-03-21 11:40, Dan Thomas wrote: >>> >>> Have you used fstat to identify the big growing file which is taking up >>> the space, and which process has the file open? >> >> >> It's not an unlinked file. I've tried using fstat and lsof to identify >> it, and there's no inodes with zero links or that don't have a >> matching file on disk. > > > A stab in the dark, but does # sync change anything. > > > >> Dan >> >> On 20 March 2013 23:08, Daniel O'Callaghan <danny@clari.net.au> wrote: >>> >>> 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 >>> >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG8duQ2Efx32hkrXnawzeH6esN%2Bdcv5tzg7Mt-H1wnfsHeH6Ug>