Re: [BUG] Re-entering malloc problem when use --enable-nls build postgresql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUG] Re-entering malloc problem when use --enable-nls build postgresql
Дата
Msg-id 10812.1525817047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUG] Re-entering malloc problem when use --enable-nls buildpostgresql  (Andres Freund <andres@anarazel.de>)
Ответы Re: [BUG] Re-entering malloc problem when use --enable-nls buildpostgresql  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> Well, the question is if that'd ever have us defer killing the process
> for longer. quickdie is intended to actually die quickly.

Yeah.  Though now that we have the postmaster mechanism to wait-five-
seconds-then-SIGKILL, maybe we could rethink that requirement?  If we
reimplemented SIGQUIT to work more like SIGTERM, it would surely be
a lot safer.  There would be cases where a stuck backend wouldn't
respond and it'd eventually get SIGKILL'd, but in return we'd get rid
of problems like this one.

On balance I'm not sure whether that solution is more or less user-
friendly than the current setup, but for sure it'd be a lot easier
to reason about.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [BUG] Re-entering malloc problem when use --enable-nls buildpostgresql
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [BUG] Re-entering malloc problem when use --enable-nls buildpostgresql