Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCmrT-0003Bp-6q for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Feb 2014 09:09:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WCmrS-0005L4-Dk for pgsql-bugs@arkaria.postgresql.org; Mon, 10 Feb 2014 09:09:06 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCmrQ-0005JS-RJ for pgsql-bugs@postgresql.org; Mon, 10 Feb 2014 09:09:04 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCmrJ-0008Bi-Dn for pgsql-bugs@postgresql.org; Mon, 10 Feb 2014 09:09:04 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 5CD87285FA; Mon, 10 Feb 2014 01:08:55 -0800 (PST) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 5668C183EA; Mon, 10 Feb 2014 01:08:55 -0800 (PST) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 13105120032; Mon, 10 Feb 2014 01:08:55 -0800 (PST) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Mon, 10 Feb 2014 01:08:52 -0800 (PST) Message-ID: <52F89712.70006@vmware.com> Date: Mon, 10 Feb 2014 11:08:34 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: mcassiano@manord.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #9169: Replica (v 9.3.2) crashed with "PANIC: WAL contains references to invalid pages" References: <20140210083146.2731.81831@wrigleys.postgresql.org> In-Reply-To: <20140210083146.2731.81831@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -7.5 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 02/10/2014 10:31 AM, mcassiano@manord.com wrote: > The following bug has been logged on the website: > > Bug reference: 9169 > Logged by: Marco Cassiano > Email address: mcassiano@manord.com > PostgreSQL version: 9.3.2 > Operating system: Centos 6.4 > Description: > > Hello everybody, > > This weeked both replicas of our main db crashed at the same time with this > error : > > 2014-02-09 11:42:51 GMT 0 52c671da.14da - PANIC: WAL contains references > to invalid pages > 2014-02-09 11:42:51 GMT 0 52c671da.14da - CONTEXT: xlog redo vacuum: rel > 1663/16433/29449; blk 181466, lastBlockVacuumed 181463 > 2014-02-09 11:42:52 GMT 0 52c671d9.14d1 - LOG: startup process (PID > 5338) was terminated by signal 6: Aborted > 2014-02-09 11:42:52 GMT 0 52c671d9.14d1 - LOG: terminating any other > active server processes > > > All three servers (main + two replicas) are on v. 9.3.2 running on Centos > 6.4 > > We upgraded one month ago the main db from v 9.2.6 to 9.3.2 through > pg_upgrade and had the replicas rebuilt on 9.3.2 > > I searched the mailing lists and found someone that had the same problem in > the past but it seems that their problem was fixed by already released > patches. > > ( see thread > http://www.postgresql.org/message-id/675b7cee-b7f0-4e32-8e34-1efaf3ca5fe9@email.android.com) > > So it seems that our problem is a new one since we are running the latest > version……. There has unfortunately been several bugs with similar looking symptoms lately. This looks like the bug reported here: http://www.postgresql.org/message-id/CAL_0b1s4QCkFy_55kk_8XWcJPs7wsgVWf8vn4=jXe6V4R7Hxmg@mail.gmail.com. That was fixed only recently, and the fix isn't included in 9.3.2 yet. It will be included in 9.3.3, which is scheduled for next week. As a work-around, recovery should be able to get past that point if you disable hot standby. Once it's recovered past that point, and past the next checkpoint, you can re-enable hot standby and restart. - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs