Re: FATAL: the database system is in recovery mode - Mailing list pgsql-novice

From Laura Hornbeck
Subject Re: FATAL: the database system is in recovery mode
Date
Msg-id 20061012175502.A72F89FB3B6@postgresql.org
Whole thread Raw
In response to Re: FATAL: the database system is in recovery mode  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: FATAL: the database system is in recovery mode  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice

-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Thursday, October 12, 2006 12:43 PM
To: lhornbeck@oppunl.com
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] FATAL: the database system is in recovery mode

"Laura Hornbeck" <lhornbeck@oppunl.com> writes:
> I am getting "FATAL:  the database system is in recovery mode" when
> trying to reconnect after a crash.  This has been happening for about
> an 1 hour now.  Is this something I need to wait out or can I safely
> kill postgres and restart?

Hmmm ... unless you had extremely high settings for both checkpoint_segments
and checkpoint_timeout, it shouldn't take an hour to recover from a crash.
Does it appear that the startup subprocess is making progress at all?  (Use
"ps" to find the postmaster's startup process child, then see if it's doing
anything using "strace" or some such.)

            regards, tom lane

checkpoint_segments is 8.

strace -p26891
Process 26891 attached - interrupt to quit
futex(0xb7db2880, FUTEX_WAIT, 2, NULL



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: FATAL: the database system is in recovery mode
Next
From: Tom Lane
Date:
Subject: Re: FATAL: the database system is in recovery mode