Re: PG in container w/ pid namespace is init, process exits cause restart

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: PG in container w/ pid namespace is init, process exits cause restart
Дата
Msg-id CA+TgmoYb5peEzcTUazF40XiTPhnzzwnwbSynT1r4yYBpO9b+qw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG in container w/ pid namespace is init, process exits cause restart  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, May 4, 2021 at 2:26 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> You are arguing from assumptions not in evidence, specifically that
> if we reap a PID that isn't one we recognize, this must be what
> happened.  I think it's *at least* as likely that the case implies
> some bug in the postmaster's child-process bookkeeping, ...

It's hard to rule that out completely, but it doesn't seem incredibly
likely to me. I would think that if we had such bugs they would result
in system instability that is also not in evidence.

> Independently of that, as was pointed out upthread, being init requires
> more than just ignoring unrecognized results from waitpid.  We shouldn't
> take on that responsibility when there are perfectly good solutions out
> there already.

That's a separate point that should be judged on its own merits. I
don't have an educated opinion on how hard it would be, or how
valuable it would be.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: MaxOffsetNumber for Table AMs
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: few ideas for pgbench