Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfdpX-0004EI-7v for pgsql-bugs@arkaria.postgresql.org; Sun, 10 Nov 2013 22:50:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VfdpW-0004Wx-Is for pgsql-bugs@arkaria.postgresql.org; Sun, 10 Nov 2013 22:50:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfdpV-0004Wj-Js for pgsql-bugs@postgresql.org; Sun, 10 Nov 2013 22:50:05 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfdpO-0002ue-N1 for pgsql-bugs@postgresql.org; Sun, 10 Nov 2013 22:50:05 +0000 Received: from anarazel.de (p5DDC55B8.dip0.t-ipconnect.de [93.220.85.184]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0LqkxG-1VBY8N1aGg-00dpBS; Sun, 10 Nov 2013 23:49:57 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 9FF891024D3; Sun, 10 Nov 2013 23:49:56 +0100 (CET) Date: Sun, 10 Nov 2013 23:49:56 +0100 From: Andres Freund To: Henley Wing Cc: pgsql-bugs@postgresql.org Subject: Re: Postgres: PANIC: WAL contains references to invalid pages Message-ID: <20131110224956.GE32665@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:pvC014BSgTTAtm7a1u7u2mUlPSjNuVWxUc/0AdvIMvo nl9lXI9FmtEI9iBvReysvkCie8CIbC2yqGZnUf2ZoS7nNavHfL JG1U/ljMwm0J2qSEZ+qeQvz3psQsq5afR31zEpzDiJiS1I5wdR 5p5CKaqnvq13+KP4JKsEm1t/KZExgovIjJSl9CxUEUOfX2m5gq KbFtz5V759+Ikgowm+LUbHmoieN9QFJy2C5Suybi+fEbZa0xOm NyS0pvKu0p/4lwucBxfRW6jnrWAtDh3v2wx5EXqq/ho2NgtG2o GEvLasrNJEMDymrnnQw8G5DcIE9UESN2ZiTFpg4HX6G2k1PS4Y iZhZp8PLNKuXbBuQC1pFjmXYv/WzwJZ9xSFNz+mgQ X-Pg-Spam-Score: -1.9 (-) 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 Hello, On 2013-11-10 17:43:50 -0500, Henley Wing wrote: > I have a slave database that is being replicated from a Master DB (through > rsync). > > All of a sudden, my slave DB just exited and wasn't able to restart. Here > are the error messages when it exits. Similar ones appear when I restart: > > WARNING: page 21561636 of relation base/16384/54391 is uninitialized > CONTEXT: xlog redo visible: rel 1663/16384/54391; blk 21561636 > PANIC: WAL contains references to invalid pages > CONTEXT: xlog redo visible: rel 1663/16384/54391; blk 21561636 > LOG: startup process (PID 1573) was terminated by signal 6: Aborted > LOG: terminating any other active server processes > > Both slave and master are using *Postgres 9.2.3* in a *Centos 5* quad-core > server with 32 GB of RAM each. > When I try to restart the slave, with "zero_damaged_pages=true", the server > still refuses to start with lines like the ones above. The master is still > running and isn't corrupt at all. You unfortunately have to reclone the standby :( > At this point, I don't care if the slave ever starts as I can start from > scratch. But is this an issue with Postgres? Has anyone encountered this > and is it fixed in future versions? This hopefully is fixed in 17fa4c321ccf9693de406faffe6b235e949aa25f - 9.2.5. For some reason it's not contained in the release notes, sorry for that. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs