Re: Stats processor not restarting

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Stats processor not restarting
Дата
Msg-id 20070320145033.GE24280@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: Stats processor not restarting  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Stats processor not restarting  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Mar 20, 2007 at 08:48:30AM -0400, Alvaro Herrera wrote:
> Magnus Hagander wrote:
> > I've noticed that if for example the autovacuum process dies (such as
> > with a kill -9 when testing my new shared mem implementation), only
> > autovac and bgwriter are restarted. The stats collector is terminated,
> > but not restarted. (Same goes for a regular backend, and not just
> > autovac)
> > 
> > Is there a reason for this, or is it a bug?
> 
> I would say it is a bug, because the comments and code in ServerLoop()
> and reaper() say different.

Bah, sorry about the noise. It was the effect of
PGSTAT_RESTART_INTERVAL.

Do we want to add some logging when we don't restart it due to repeated
failures?

//Magnus


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Buildfarm feature request: some way to track/classify failures
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Stats processor not restarting