Re: Signals blocked during auth

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Signals blocked during auth
Дата
Msg-id 12707.998434498@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Signals blocked during auth  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: Signals blocked during auth
Список pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
>     Now one little problem remains. If a bogus  client  causes  a
>     child  to  hang before becoming a real backend, this child is
>     in the backend list of the postmaster, but  has  all  signals
>     blocked.  Thus, preventing the postmaster from beeing able to
>     shutdown.

I think this is fairly irrelevant, because a not-yet-backend should
have a fairly short timeout (a few seconds) before just shutting
down anyway, so that malfunctioning clients can't cause denial of
service; the particular case you mention is just one scenario.

I have been intending to implement this soon if Peter didn't.

OTOH, it'd be easy enough to turn on SIGTERM/SIGQUIT too, if you
think there's really any value in it.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Link to bug webpage
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Link to bug webpage