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

Lists: pgsql-ru-general
From: "Vladimir Rusinov" <vladimir(at)greenmice(dot)info>
To: pgsql-ru-general(at)postgresql(dot)org
Subject: server process (PID 1234) was terminated by signal 9: Killed
Date: 2008-09-08 08:32:50
Message-ID: f6fdfb550809080132s2e361ffbmda4834ffdca5fa94@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ru-general

Здравсвуйте.

Последнее время стало настораживать странное поведение 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/


From: "Andrey N(dot) Oktyabrski" <ano(at)antora(dot)ru>
To: Vladimir Rusinov <vladimir(at)greenmice(dot)info>
Cc: pgsql-ru-general(at)postgresql(dot)org
Subject: Re: server process (PID 1234) was terminated by signal 9: Killed
Date: 2008-09-08 08:54:21
Message-ID: 48C4E83D.9070005@antora.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ru-general

Vladimir Rusinov wrote:
> Sep 7 01:01:55 db1 postgres[15320]: [6-1] user=,db= LOG: server
> process (PID 7442) was terminated by signal 9: Killed
>
> Настораживает что 'was terminated by signal 9: Killed'. Это нормальное
> поведение?
Эт его что-то прибило.


From: "Nikolay Samokhvalov" <ns(at)postgresmen(dot)ru>
To: "Vladimir Rusinov" <vladimir(at)greenmice(dot)info>
Cc: pgsql-ru-general(at)postgresql(dot)org
Subject: Re: server process (PID 1234) was terminated by signal 9: Killed
Date: 2008-09-08 08:59:32
Message-ID: e431ff4c0809080159s3dbff54dlc532570c81a2501e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트 순위SQL

On Mon, Sep 8, 2008 at 12:32 PM, Vladimir Rusinov
<vladimir(at)greenmice(dot)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