Re: PG_XLOG 27028 files running out of space

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: Tory M Blue <tmblue(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: PG_XLOG 27028 files running out of space
Date: 2013-02-14 11:01:36
Message-ID: CAB8KJ=hbsFCGwFYe9eQNKVh0q1fiF66wJJ6ro-1Fzg4fzCQoAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

2013/2/14 Tory M Blue <tmblue(at)gmail(dot)com>

> My postgres db ran out of space. I have 27028 files in the pg_xlog
> directory. I'm unclear what happened this has been running flawless for
> years. I do have archiving turned on and run an archive command every 10
> minutes.
>
> I'm not sure how to go about cleaning this up, I got the DB back up, but
> I've only got 6gb free on this drive and it's going to blow up, if I can't
> relieve some of the stress from this directory over 220gb.
>
> What are my options?
>
> Thanks
>
> Postgres 9.1.6
> slon 2.1.2

I can't give any advice right now, but I'd suggest posting more details of
your
setup, including as much of your postgresql.conf file as possible
(especially
the checkpoint_* and archive_* settings) and also the output of
pg_controldata.

Ian Barwick

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tory M Blue 2013-02-14 11:06:45 Re: PG_XLOG 27028 files running out of space
Previous Message Tory M Blue 2013-02-14 10:49:16 PG_XLOG 27028 files running out of space