From: Florian Weimer <fw@deneb.enyo.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Growing pg_xlog
Date: Mon, 14 Jul 2003 19:12:16 +0200
Message-ID: <20030714171216.GA68252@ext1.enyo.de> (raw)
In-Reply-To: <2326.1058201719@sss.pgh.pa.us>
References: <20030714161543.GM37009@ext1.enyo.de>
<2326.1058201719@sss.pgh.pa.us>
On Mon, Jul 14, 2003 at 12:55:19PM -0400, Tom Lane wrote:
> Florian Weimer <fw@deneb.enyo.de> writes:
> > I seem to have some obscure problem with the WAL logs (AFAIK that's what
> > is stored in the pg_xlog directory):
>
> > 63G /var/lib/postgres/data/pg_xlog
>
> > This is a bit too much wasted space for my taste. 8-/
>
> The only theory that comes to mind is that the automatically issued
> checkpoint operations are failing before they get to the stage of
> truncating the WAL. Is there anything suspicious looking in the
> postmaster log?
No, I'm afraid. However, the checkpoint subprocess was stuck in the "T"
state (meaning that it had received SIGSTOP). 8-/
> You could also try a manual CHECKPOINT and see if it fails.
Sending SIGCONT, restarting the database and issuing a CHECKPOINT
command seems to have fixed it (CHECKPOINT removed the gigabytes at an
amazing rate 8-).
Thanks for pushing me into the right direction.
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-admin@postgresql.org
Cc: fw@deneb.enyo.de, tgl@sss.pgh.pa.us
Subject: Re: Growing pg_xlog
In-Reply-To: <20030714171216.GA68252@ext1.enyo.de>
References: <20030714161543.GM37009@ext1.enyo.de> <2326.1058201719@sss.pgh.pa.us> <20030714171216.GA68252@ext1.enyo.de>
* 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