On 2014-09-29 16:16:24 -0400, Robert Haas wrote:
>
> > If you can manually run stuff on that machine, it'd be rather helpful if
> > you could put a PG_SETMASK(&BlockSig);...PG_SETMASK(&UnBlockSig); in the
> > HaveCrashedWorker() loop.
>
> I'd do it the other way around, and adjust ServerLoop to put the
> PG_SETMASK calls right around pg_usleep() and select().
Sounds good.
> But why futz with anole?
Shorter feedback cycles. Anole doesn't seem to run very often, and it
takes you to log to see whether it's just slow or hanging...
> Let's just check in the fix. It'll either fix anole or not, but we
> should fix the bug you found either way.
Right. Are you going to do it? I can, but it'll be tomorrow. I'm neck
deep in another bug right now.
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services