Re: The database system is in recovery mode

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: The database system is in recovery mode
Дата
Msg-id 9314.1036939461@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: The database system is in recovery mode  ("Iavor Raytchev" <pobox@verysmall.org>)
Список pgsql-hackers
"Iavor Raytchev" <pobox@verysmall.org> writes:
> Before the crash is this one -
> FATAL 1: Sorry, too many clients already

That should be harmless --- I doubt it's relevant to the crash, unless
you have timestamps that prove it happened just before the crash.

> IpcSemaphoreLock: semop(id=-1) failed: Invalid argument

This is a new one on me.  AFAICT it must mean that something clobbered
the PROC array in shared memory (the semId argument to IpcSemaphoreLock
is always taken from MyProc->sem.semId).  Never heard of that happening
before.

> DEBUG: pq_flush: send() failed: Bad file descriptor

And that seems odd too; it suggests something overwrote MyProcPort->sock,
which is another un-heard-of failure mode.

> Shall we simply restart?

Yeah, I'd try that, but I'd also suggest looking for system-wide
problems.  Normally the postmaster can recover by itself from any sort
of failure in child processes ... the fact that it didn't seem to do so
is another strikingly odd behavior.  I'm starting to wonder about
possible hardware flakiness.  Bad RAM maybe?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: snpe
Дата:
Сообщение: SQL syntax (column alias)
Следующее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: [JDBC] PostgreSQL JDBC and sub-select