Date: Thu, 21 Mar 2013 10:40:43 +0000 From: Dan Thomas <godders@gmail.com> To: "Daniel O'Callaghan" <danny@clari.net.au> Cc: freebsd-questions@freebsd.org Subject: Re: "Leaking" disk space Message-ID: <CAG8duQ1wJkK6ygqP_P2qY==kGW2eHuGDtMtzYfY9CURhdAbUUQ@mail.gmail.com> In-Reply-To: <514A416C.1040706@clari.net.au> References: <CAG8duQ1cjVWbWDUBEoEH6uLEWkU5mqgs%2BnHjDGuvPMvpW8qLSQ@mail.gmail.com> <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> <CAG8duQ0MWGg9MmDNwFJV90DXXNUfJc2YMRkV3z0BZGk8ZrMnEw@mail.gmail.com> <514A416C.1040706@clari.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG8duQ1wJkK6ygqP_P2qY==kGW2eHuGDtMtzYfY9CURhdAbUUQ>