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

From Alvaro Herrera
Subject checkpointer code behaving strangely on postmaster -T
Date
Msg-id 1333124720-sup-6193@alvh.no-ip.org
Whole thread Raw
Responses Re: checkpointer code behaving strangely on postmaster -T
List pgsql-hackers
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.

Pressing Ctrl-C in the postmaster console at that point does not have
any effect.

--
Álvaro Herrera <alvherre@alvh.no-ip.org>


pgsql-hackers by date:

Previous
From: Marko Kreen
Date:
Subject: Re: Speed dblink using alternate libpq tuple storage
Next
From: Peter Eisentraut
Date:
Subject: Re: Uppercase tab completion keywords in psql?