Thread: server process (PID 1234) was terminated by signal 9: Killed

server process (PID 1234) was terminated by signal 9: Killed

From
"Vladimir Rusinov"
Date:
Здравсвуйте.

Последнее время стало настораживать странное поведение postgres во время бекапа (pg_dump, потаблично). Понятно, что лочатся таблицы, но настораживает вот этот кусок лога:

Sep  7 01:01:55 db1 postgres[15320]: [6-1] user=,db= LOG:  server process (PID 7442) was terminated by signal 9: Killed
Sep  7 01:02:02 db1 postgres[16200]: [6-1] user=xxx,db=xxx LOG:  duration: 7339.559 ms  execute S_2: ROLLBACK
Sep  7 01:02:02 db1 postgres[15320]: [7-1] user=,db= LOG:  terminating any other active server processes
Sep  7 01:02:02 db1 postgres[7635]: [6-1] user=xxx,db=xxx WARNING:  terminating connection because of crash of another server process
Sep  7 01:02:02 db1 postgres[16200]: [7-1] user=xxx,db=xxx WARNING:  terminating connection because of crash of another server process
Sep  7 01:02:02 db1 postgres[7799]: [6-1] user=postgres,db=xxx WARNING:  terminating connection because of crash of another server process
Sep  7 01:02:02 db1 postgres[7818]: [6-1] user=postgres,db=xxx WARNING:  terminating connection because of crash of another server process
Sep  7 01:02:02 db1 postgres[7634]: [6-1] user=xxx,db=xxx WARNING:  terminating connection because of crash of another server process
Sep  7 01:02:02 db1 postgres[7634]: [6-2] user=xxx,db=xxx DETAIL:  The postmaster has commanded this server process to roll back the curr
ent

Настораживает что 'was terminated by signal 9: Killed'. Это нормальное поведение?

При этом с db-машины нету коннектов, помимо коннекта от pg_dump, все остальные коннекты - с других хостов от jboss и tomcat, используется hibernate.

--
Vladimir Rusinov
http://greenmice.info/

Re: server process (PID 1234) was terminated by signal 9: Killed

From
"Nikolay Samokhvalov"
Date:
On Mon, Sep 8, 2008 at 12:32 PM, Vladimir Rusinov <vladimir@greenmice.info> wrote:
...
Настораживает что 'was terminated by signal 9: Killed'. Это нормальное поведение?

При этом с db-машины нету коннектов, помимо коннекта от pg_dump, все остальные коннекты - с других хостов от jboss и tomcat, используется hibernate.
...

Абсолютно ненормальное (так можно повредить данные), надо разбираться, в чём причина, возможно банально кто-то kill -9 процессу сделал. "Странное поведение бэкапа" -- я бы так не сказал, бэкап не делает kill -9, это не связанные события :-) Подозреваю всё-таки ручное убиение.

А как часто такое бывает?


--
Sincerely yours,
Nikolay Samokhvalov
Postgresmen LLC, http://postgresmen.ru