Re: Postgres server crashing unexpectedly.

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Postgres server crashing unexpectedly.
Дата
Msg-id 4F58A53E0200002500046040@gw.wicourts.gov
обсуждение исходный текст
Ответ на Postgres server crashing unexpectedly.  ("umashankar narayanan" <umashankar@graffiti.net>)
Список pgsql-admin
"umashankar narayanan" <umashankar@graffiti.net> wrote:

> Version : 8.3

Please give the full version and a bit more information about the
environment it's running in:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

>  2012-03-07 11:57:20 EST LOG: server process (PID 5944) exited
> with exit code 128

Was there anything in the PostgreSQL log ahead of this to give a
clue what went wrong and caused this?  Is there anything in any of
system logs from around this time?

>  2012-03-07 11:57:20 EST LOG: terminating any other active server
> processes

This is normal -- when one process crashes this hard, it can leave
shared memory in a corrupted state, so PostgreSQL restarts to get a
clean environment with minimal down time.

> [each client process logging its termination]

>  2012-03-07 11:57:21 EST LOG: all server processes terminated;
> reinitializing

OK, it's trying to restart so clients can re-connect and continue.

>  2012-03-07 11:57:22 EST FATAL: pre-existing shared memory block
> is still in use
>  2012-03-07 11:57:22 EST HINT: Check if there are any old server
> processes still running, and terminate them.

Something is still hanging on to the PostgreSQL shared memory block.

Are any postgres processes lingering?  Are you running anything else
which might be grabbing the same shared memory block?

-Kevin

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Postgres server crashing unexpectedly.
Следующее
От: "umashankar narayanan"
Дата:
Сообщение: Postgres 8.3 crashing unexpectedly