Re: FATAL: the database system is in recovery mode

Поиск
Список
Период
Сортировка
От Laura Hornbeck
Тема Re: FATAL: the database system is in recovery mode
Дата
Msg-id 20061012175502.A72F89FB3B6@postgresql.org
обсуждение исходный текст
Ответ на Re: FATAL: the database system is in recovery mode  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: FATAL: the database system is in recovery mode  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: FATAL: the database system is in recovery mode
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FATAL: the database system is in recovery mode