X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 77F35CC0AB for ; Mon, 14 Jul 2003 17:11:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 77093-04 for ; Mon, 14 Jul 2003 17:12:17 +0000 (GMT) Received: from ext1.enyo.de (unknown [213.178.169.5]) by svr1.postgresql.org (Postfix) with ESMTP id AE2EECC0D4 for ; Mon, 14 Jul 2003 14:11:50 -0300 (ADT) Received: from fw by ext1.enyo.de with local (Exim 4.20) id 19c6s4-000HqV-O3; Mon, 14 Jul 2003 19:12:16 +0200 Date: Mon, 14 Jul 2003 19:12:16 +0200 From: Florian Weimer To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: Growing pg_xlog Message-ID: <20030714171216.GA68252@ext1.enyo.de> References: <20030714161543.GM37009@ext1.enyo.de> <2326.1058201719@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2326.1058201719@sss.pgh.pa.us> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/131 X-Sequence-Number: 9471 On Mon, Jul 14, 2003 at 12:55:19PM -0400, Tom Lane wrote: > Florian Weimer 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.