Re: checkpointer code behaving strangely on postmaster -T - Mailing list pgsql-hackers

From Tom Lane
Subject Re: checkpointer code behaving strangely on postmaster -T
Date
Msg-id 20840.1336631252@sss.pgh.pa.us
Whole thread Raw
In response to checkpointer code behaving strangely on postmaster -T  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: checkpointer code behaving strangely on postmaster -T
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I noticed while doing some tests that the checkpointer process does not
> recover very nicely after a backend crashes under postmaster -T (after
> all processes have been kill -CONTd, of course, and postmaster told to
> shutdown via Ctrl-C on its console).  For some reason it seems to get
> stuck on a loop doing sleep(0.5s)  In other case I caught it trying to
> do a checkpoint, but it was progressing a single page each time and then
> sleeping.  In that condition, the checkpoint took a very long time to
> finish.

Is this still a problem as of HEAD?  I think I've fixed some issues in
the checkpointer's outer loop logic, but not sure if what you saw is
still there.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: libpq URL syntax vs SQLAlchemy
Next
From: Heikki Linnakangas
Date:
Subject: Re: bgwriter idle-mode behavior (was Re: Latch for the WAL writer)