Re: Signals blocked during auth - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Signals blocked during auth
Date
Msg-id 12707.998434498@sss.pgh.pa.us
Whole thread Raw
In response to Signals blocked during auth  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Signals blocked during auth
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Link to bug webpage
Next
From: Bruce Momjian
Date:
Subject: Re: Link to bug webpage