Re: checkpointer code behaving strangely on postmaster -T

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: checkpointer code behaving strangely on postmaster -T
Дата
Msg-id 20840.1336631252@sss.pgh.pa.us
обсуждение исходный текст
Ответ на checkpointer code behaving strangely on postmaster -T  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: checkpointer code behaving strangely on postmaster -T  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: libpq URL syntax vs SQLAlchemy
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: bgwriter idle-mode behavior (was Re: Latch for the WAL writer)