Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 99030DF15E9 for ; Fri, 11 Nov 2011 13:35:11 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 87762-02 for ; Fri, 11 Nov 2011 17:35:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from vexbert.mr-paradox.net (vexbert.mr-paradox.net [198.145.180.174]) by mail.postgresql.org (Postfix) with ESMTP id CAF80DF15EA for ; Fri, 11 Nov 2011 13:35:05 -0400 (AST) Received: by vexbert.mr-paradox.net (Postfix, from userid 18391) id 6D92084737; Fri, 11 Nov 2011 12:35:02 -0500 (EST) Date: Fri, 11 Nov 2011 09:35:02 -0800 From: David Kerr To: Venkat Balaji Cc: pgsql-general Subject: Re: : postgres: archiver process failed on 0000000100000F72000000F0 Message-ID: <20111111173502.GB6219@mr-paradox.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.101 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201 X-Spam-Level: X-Archive-Number: 201111/455 X-Sequence-Number: 182026 On Fri, Nov 11, 2011 at 09:58:56PM +0530, Venkat Balaji wrote: - Hello, - - WAL Archive process in our production is not working. - - [postgres@hostname]$ ps -ef | grep archive - postgres 12077 16015 0 10:19 pts/4 00:00:00 grep archive - postgres 31126 27607 0 Nov10 ? 00:01:18 postgres: archiver process - failed on 0000000100000F72000000F0 - - I see WAL files getting accumulated in pg_xlog location and the status in - "archive_status" is shown as ".ready". - - Is there anyway we can only restart archiving process without disturbing - the actual cluster ? - - Actually, we had killed a process using "kill -9 " and the db went into - recovery mode and was back up and running. - - We have no issues with the application as well. - - postgres=# select pg_is_in_recovery(); - - pg_is_in_recovery - ------------------- - f - (1 row) - - Please help to resolve this ! If you fix the problem causing the archiver process to fail it will start processing the logs again. check your postgres logs and check your archive_command in your postgresql.conf and make sure that everything is correct there. Dave