Re: bug in SignalSomeChildren

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: bug in SignalSomeChildren
Дата
Msg-id AANLkTinOqsTHhktV7SykgRo7E1eTSsFxHJpEx73oU29=@mail.gmail.com
обсуждение исходный текст
Ответ на Re: bug in SignalSomeChildren  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: bug in SignalSomeChildren  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Dec 20, 2010 at 8:20 AM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Robert Haas's message of vie dic 17 14:08:04 -0300 2010:
>
>> I'm having a bit of trouble confirming this on MacOS X, though.
>> Attaching gdb to either the startup process or a WAL sender causes
>> PostmasterIsAlive to return false, resulting in a near-immediate exit.
>>  Seems pretty stupid for attaching gdb to change the return value of
>> getppid() but it seems like that must be what's happening.
>
> Yeah, this problem has been known for some time and causes quite some
> pain.  We have an open problem report on autovacuum failing to run after
> some time, and we haven't been able to get a backtrace or strace because
> of this issue -- trying to attach to it causes a full system restart
> (PostmasterIsAlive returns false, autovac launcher dies, this death
> causes postmaster to shut everything down and restart).  This is on
> FreeBSD.

Can we add a develop option to force use of the kill(0) method?

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


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Extensions and custom_variable_classes
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Binary timestamp with without timezone