pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Trevor Astrope <astrope@e-corp.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: The database system is in recovery mode
Date: Sat, 03 May 2003 18:44:01 -0400
Message-ID: <17004.1052001841@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0305011809260.10366-100000@gord.tabbweb.com>
References: <Pine.LNX.4.44.0305011809260.10366-100000@gord.tabbweb.com>

Trevor Astrope <astrope@e-corp.net> writes:
>  Could this be the linux kernel randomly killing processes under heavy
> load issue?

I concur with the other respondent who pointed out that the kernel uses
signal 9, not 11, when it wants to kill something.  A check for marginal
hardware seems in order.

> Then after the machine is rebooted and while it is starting up, there is 
> these messages:

> 2003-05-01 17:35:49 DEBUG:  ReadRecord: unexpected pageaddr 21/37D94000 in log file 33, segment 63, offset 14237696
> 2003-05-01 17:35:49 DEBUG:  redo done at 21/3FD92564

> I presume this is rerunning the WAL? Is the message serious...could there
> be database corruption or just lost transactions?

That message is expected if the old WAL happened to end exactly on a
page boundary --- which is somewhat unlikely, but certainly not
implausible.  I don't think you lost anything.

			regards, tom lane




view thread (6+ messages)  latest in thread

Message-ID: <17004.1052001841@sss.pgh.pa.us>
Permalink:  ../17004.1052001841@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17004.1052001841@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, astrope@e-corp.net
  Subject: Re: The database system is in recovery mode
  In-Reply-To: <17004.1052001841@sss.pgh.pa.us>
  References: <Pine.LNX.4.44.0305011809260.10366-100000@gord.tabbweb.com> <17004.1052001841@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox