Re: PG_XLOG 27028 files running out of space - Mailing list pgsql-performance

From Albe Laurenz
Subject Re: PG_XLOG 27028 files running out of space
Date
Msg-id A737B7A37273E048B164557ADEF4A58B057B33E8@ntex2010a.host.magwien.gv.at
Whole thread Raw
In response to PG_XLOG 27028 files running out of space  (Tory M Blue <tmblue@gmail.com>)
List pgsql-performance
Tory M Blue wrote:
> 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.

> Postgres 9.1.6
> slon 2.1.2

Are there any messages in the log file?
Are you sure that archiving works, i.e. do WAL files
show up in your archive location?

The most likely explanation for what you observe is that
archive_command returns a non-zero result (fails).
That would lead to a message in the log.

Yours,
Laurenz Albe


pgsql-performance by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: PG_XLOG 27028 files running out of space
Next
From: Tory M Blue
Date:
Subject: Re: PG_XLOG 27028 files running out of space