X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C7D87474E4F for ; Thu, 1 May 2003 18:29:26 -0400 (EDT) Received: from ns1.gnw.de (ns1.turtle-entertainment.de [193.41.200.20]) by postgresql.org (Postfix) with ESMTP id 14E0D474E4F for ; Thu, 1 May 2003 18:29:16 -0400 (EDT) Received: from ip97.85.1311c-cud12k-02.ish.de ([62.143.85.97] helo=mail.office.turtle-entertainment.de) by ns1.gnw.de with asmtp (Exim 3.22 #3 (Debian)) id 19BMYG-0008MV-00; Fri, 02 May 2003 00:29:16 +0200 Received: from pd95208cf.dip.t-dialin.net ([217.82.8.207] helo=shock) by mail.office.turtle-entertainment.de with asmtp (Exim 3.22 #7 (Debian)) id 19BMYD-0001tM-00; Fri, 02 May 2003 00:29:14 +0200 Message-ID: <030d01c31031$0b73db90$0564a8c0@shock> From: =?iso-8859-1?Q?Bj=F6rn_Metzdorf?= To: "Trevor Astrope" , References: Subject: Re: The database system is in recovery mode Date: Fri, 2 May 2003 00:28:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Scanner: exiscan *19BMYD-0001tM-00*Wynt4bFZFFA* http://duncanthrax.net/exiscan/ X-Spam-Status: No, hits=-26.8 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/18 X-Sequence-Number: 8580 double check your hardware, replace RAM and perhaps even hdd. The only time I have experienced such fatal errors, it was a hardware fault. Hurry, before your data gets really corrupted... Regards, Bjoern On Friday, May 02, 2003 12:24 AM [GMT+1=CET], Trevor Astrope wrote: > Our database just experienced the problem in the subject line. After > the > error, the database was still up, but would issue the error to any new > connections. The stats collector process, a vacuum and one other > connection were all in an uninterruptable state and the machine had > to be > rebooted. > > Could this be the linux kernel randomly killing processes under heavy > load issue? I've seen that happen on other machines before, but in > those > cases the kernel logged when it was killing processes in syslog... > There > were no messages in syslog in this case. > > System is postgresql 7.2.1 on redhat 7.2. Here's the logs: > > 2003-05-01 16:54:08 DEBUG: server process (pid 2599) was terminated > by signal 11 > 2003-05-01 16:54:08 DEBUG: terminating any other active server > processes > 2003-05-01 16:54:08 NOTICE: Message from PostgreSQL backend: > The Postmaster has informed me that some other backend > died abnormally and possibly corrupted shared memory. > I have rolled back the current transaction and am > going to terminate your database system connection and exit. > Please reconnect to the database system and repeat your query. > > After a bunch of these, the database goes in recovery mode: > > 2003-05-01 16:54:08 FATAL 1: The database system is in recovery mode > > > 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? > > > Thanks for any help. > > > Regards, > > Trevor Astrope > astrope@e-corp.net > > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html