Hot standby 9.2.1 PANIC: WAL contains references to invalid pages

Started by Vishalakshi Navaneethakrishnanalmost 12 years ago2 messagesgeneral
Jump to latest
#1Vishalakshi Navaneethakrishnan
nvishalakshi@sirahu.com

Hi Team,

For last 2 days we are facing issue with replication.

WARNING: page 21 of relation base/1193555/19384612 does not exist
CONTEXT: xlog redo insert: rel 1663/1193555/19384612; tid 21/1
PANIC: WAL contains references to invalid pages
CONTEXT: xlog redo insert: rel 1663/1193555/19384612; tid 21/1
LOG: startup process (PID 20622) was terminated by signal 6: Aborted
LOG: terminating any other active server processes

Stand by server went down with this error.

we just using warm stand by, but we enabled wal_level as 'hot_stanndby' in
Master server.

I just read this mailing list, and in postgres 9.2.7 we have fix,

But as of now,
if i change the wal level as archive, then this problem will go..? We are
just using warm stand by. so shall we change the wal_level as archive..?
Can you please reply this mail as soon as possible?
--
Best Regards,
Vishalakshi.N

#2Sergey Konoplev
gray.ru@gmail.com
In reply to: Vishalakshi Navaneethakrishnan (#1)
Re: Hot standby 9.2.1 PANIC: WAL contains references to invalid pages

On Fri, Apr 18, 2014 at 1:23 AM, Vishalakshi Navaneethakrishnan
<nvishalakshi@sirahu.com> wrote:

if i change the wal level as archive, then this problem will go..? We are
just using warm stand by. so shall we change the wal_level as archive..? Can
you please reply this mail as soon as possible?

AFAIK, the problem appears when hot_standby is set on, so you need to
turn it off. Also, take a look at the link below:

http://www.databasesoup.com/2013/12/why-you-need-to-apply-todays-update.html

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray.ru@gmail.com

--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance