Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2013 16:09:54 +0000
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-questions@freebsd.org
Cc:        mckusick@mckusick.com
Subject:   Re: "Leaking" disk space
Message-ID:  <5149DF52.5040804@freebsd.org>
In-Reply-To: <CAG8duQ1cjVWbWDUBEoEH6uLEWkU5mqgs%2BnHjDGuvPMvpW8qLSQ@mail.gmail.com>
References:  <CAG8duQ1cjVWbWDUBEoEH6uLEWkU5mqgs%2BnHjDGuvPMvpW8qLSQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20/03/2013 15:23, Dan Thomas wrote:
> Hi Guys,
> 
> We're seeing a problem with some of our FreeBSD/PostgreSQL servers
> "leaking" quite significant amounts of disk space:
> 
>     > df -h /usr/local/pgsql/
>     Filesystem       Size    Used   Avail Capacity  Mounted on
>     /dev/mfid1s1d    1.1T    772G    222G    78%    /usr/local/pgsql
> 
>     > du -sh /usr/local/pgsql/
>     741G    /usr/local/pgsql/
> 
> Stopping Postgres doesn't fix it, but rebooting does which points at
> the OS rather than PG to me. However, the leak is only apparent in the
> dedicated pgsql partition, and only on our database servers, so
> PostgreSQL seems to at least be involved. The partition itself is a
> relatively standard UFS partition:

Hi, Dan

You're not the first person to report that.  Please see the thread:

"leaking lots of unreferenced inodes (pg_xlog files?), maybe after
moving tables and indexes to tablespace on different volume"

on the freebsd-fs@freebsd.org mailing list.

Kirk McKusick was investigating the original report: CC'd.

	Cheers,

	Matthew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5149DF52.5040804>