Re: Archiver not exiting upon crash - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Archiver not exiting upon crash
Date
Msg-id 18000.1337617639@sss.pgh.pa.us
Whole thread Raw
In response to Archiver not exiting upon crash  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> ... sometimes the automatic recovery never initiates.  It looks
> like the postmaster is waiting for the archiver to exit before it
> starts recovery, and the archiver is waiting for something, I don't
> really know what.

Can you try poking into the archiver's state with gdb?  It would be
useful to see a stack trace when it's hung, as well as the local and
static variables of pgarch.c.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: read() returns ERANGE in Mac OS X
Next
From: Tom Lane
Date:
Subject: Re: Archiver not exiting upon crash