X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id 6AF20CC25A for ; Tue, 15 Jul 2003 07:41:35 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 43389-08 for ; Tue, 15 Jul 2003 07:41:51 +0000 (GMT) Received: from qmail1.internet.gr (qmail1.internet.gr [62.1.1.51]) by svr1.postgresql.org (Postfix) with ESMTP id F18F3CC1E6 for ; Tue, 15 Jul 2003 04:41:22 -0300 (ADT) Received: (qmail 18503 invoked by uid 504); 15 Jul 2003 07:41:37 -0000 Received: from lefty@internet.gr by qmail1.internet.gr by uid 501 with qmail-scanner-1.15 (uvscan: v4.1.60/v4276. spamassassin: 2.43. Clear:. Processed in 0.407356 secs); 15 Jul 2003 07:41:37 -0000 Received: from unknown (HELO internet.gr) ([62.1.0.62]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 15 Jul 2003 07:41:36 -0000 Message-ID: <3F13B03C.6020207@internet.gr> Date: Tue, 15 Jul 2003 10:41:48 +0300 From: "E. Lefty Kreouzis" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 X-Accept-Language: en-us, en, el MIME-Version: 1.0 To: Florian Weimer Cc: pgsql-admin@postgresql.org Subject: Re: Growing pg_xlog References: <20030714161543.GM37009@ext1.enyo.de> <2326.1058201719@sss.pgh.pa.us> <20030714171216.GA68252@ext1.enyo.de> In-Reply-To: <20030714171216.GA68252@ext1.enyo.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/134 X-Sequence-Number: 9474 Florian Weimer wrote: >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-/ > > > Ah, running on linux 2.4 I suppose. There is a known bug if someone 'strace's a process and the kills the strace process the traced process is stuck in the T state and needs kill -SIGCONT to continue Lefty