From: Merlin Moncure <mmoncure@gmail.com>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Brandon Shalton <brandon@cydataservices.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: disk filling up
Date: Fri, 27 Jul 2007 09:44:31 -0400
Message-ID: <b42b73150707270644q7957f29epdbb2b857296ed03a@mail.gmail.com> (raw)
In-Reply-To: <46A8B3EC.1090807@commandprompt.com>
References: <009c01c7cfa0$ab526810$fc01a8c0@blaptop>
<46A8B3EC.1090807@commandprompt.com>
On 7/26/07, Joshua D. Drake <jd@commandprompt.com> wrote:
> Brandon Shalton wrote:
> > Hello all,
> >
> > My hard disk is filling up in the /base directory to where it has
> > consumed all 200gig of that drive.
> >
> > All the posts that i see keep saying move to a bigger drive, but at some
> > point a bigger drive would just get consumed.
> >
> > How can i keep the disk from filling up other than get like a half TB
> > setup just to hold the ./base/* folder
>
> 1. Don't have two hundred gig of data.
> 2. Sounds more like you don't have 200G of data and you aren't vacuuming
> enough.
third (but unlikely) possibility is there are various dropped tables,
etc which need to be deleted but there are stale postgresql processes
holding on to the fd. This would only happen following a postmaster
crash or some other bizarre scenario, but i've seen it on production
box. symptoms are du and df reporting different numbers. solutions
is easy: reboot or stop postmaster and kill all postgresql processes
(or, if you are brave, do it with dbms running and nail all processes
not following postmaster, do a ps axf [on linux] to see them).
merlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mmoncure@gmail.com, jd@commandprompt.com, brandon@cydataservices.com
Subject: Re: disk filling up
In-Reply-To: <b42b73150707270644q7957f29epdbb2b857296ed03a@mail.gmail.com>
References: <009c01c7cfa0$ab526810$fc01a8c0@blaptop> <46A8B3EC.1090807@commandprompt.com> <b42b73150707270644q7957f29epdbb2b857296ed03a@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox