Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1E958632AE6 for ; Wed, 26 May 2010 03:29:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 26631-02 for ; Wed, 26 May 2010 06:28:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail149077.authsmtp.com (outmail149077.authsmtp.com [62.13.149.77]) by mail.postgresql.org (Postfix) with ESMTP id 2BB4C62E841 for ; Wed, 26 May 2010 03:28:57 -0300 (ADT) Received: from mail-c194.authsmtp.com (mail-c194.authsmtp.com [62.13.128.121]) by punt7.authsmtp.com (8.14.2/8.14.2) with ESMTP id o4Q6StNv036124; Wed, 26 May 2010 07:28:55 +0100 (BST) Received: from [192.168.0.6] (88-110-191-21.dynamic.dsl.as9105.com [88.110.191.21]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id o4Q6SqLS060741; Wed, 26 May 2010 07:28:53 +0100 (BST) Subject: Re: could not truncate directory "pg_subtrans": apparent wraparound From: Simon Riggs To: Mikko Partio Cc: Tom Lane , pgsql-admin@postgresql.org In-Reply-To: References: <18038.1274637760@sss.pgh.pa.us> <1274730957.6203.527.camel@ebony> Content-Type: text/plain Date: Wed, 26 May 2010 07:28:53 +0100 Message-Id: <1274855333.6203.2853.camel@ebony> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Server-Quench: f4605f6b-688f-11df-80b9-0022640b883e X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFagNbYFhI HGQLWlREUFp7W2t/ bgkfZQ1DY0tOQQRj UVZLQ01XHAJ3AVJe An8YMVgOFAVAeHl0 ZAhnX3BdEhJ+c0Z4 FEgGCGsObTF9aWFL Bl1Qd1FdbQNKfB1D blAtXHsONCtlM3Bw LCYfGhEXCH1ULzlR TkkLKk5aXVwWGDU1 Wx1KETQ1EEYZQD8i Z1Y+JWkHAUwNKEw0 KhFzEVsAKxYIBwtC VyMFHzVQP1AbQDct AWsA X-Authentic-SMTP: 61633235383639.1015:706/Kp X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-10 required=5 tests=BAYES_50=0.8 X-Spam-Level: X-Archive-Number: 201005/248 X-Sequence-Number: 34721 On Wed, 2010-05-26 at 09:01 +0300, Mikko Partio wrote: > With this database instance (beta1 initdb'd) I have not made > failovers. I don't think I have any special hot standby parameters > either. OK, so that pretty much rules out HS as a direct cause. > Non-default hot standby related configuration options (master > database): > > > wal_level = hot_standby # minimal, archive, or hot_standby > archive_mode = on # allows archiving to be done > archive_command = '/postgresql/bin/archive_wal.sh "%p" "%f"' > # command to use to archive a logfile segment > archive_timeout = 3600 # force a logfile segment switch after > this > hot_standby = off # allows queries during recovery > max_wal_senders = 3 # max number of walsender processes > wal_keep_segments = 10 # in logfile segments, 16MB each; 0 > disables -- Simon Riggs www.2ndQuadrant.com