Re: kill -KILL: What happens?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: kill -KILL: What happens?
Дата
Msg-id AANLkTimTsw1GuHmX0vXs=joohU=LAKjKd=F8eO=H7Evn@mail.gmail.com
обсуждение исходный текст
Ответ на Re: kill -KILL: What happens?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: kill -KILL: What happens?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jan 13, 2011 at 2:16 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Frankly I'd prefer to get rid of PostmasterIsAlive, not extend its use.
> It sucks because you don't get a signal on parent death.  With the
> arrival of the latch code, having to check for PostmasterIsAlive
> frequently is the only reason for an idle background process to consume
> CPU at all.

What we really need is SIGPARENT.  I wonder if the Linux folks would
consider adding such a thing.  Might be useful to others as well.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: kill -KILL: What happens?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Possible bug in pg_settings/pg_depend