Re: [HACKERS] Stats processor not restarting

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Stats processor not restarting
Date: 2007-03-22 02:04:09
Message-ID: 200703220204.l2M249127340@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
> > 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?
>
> Not really, but maybe it would be sensible to reset last_pgstat_start_time
> when doing a database-wide restart? The motivation for the timeout was
> to reduce cycle wastage if pgstat crashed by itself, but when you've
> deliberately SIGQUITed it, that hardly seems to apply ...

You mean like this, attached?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
unknown_filename text/plain 571 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 02:24:38 Re: [PATCHES] As proposed the complete changes to pg_trigger and pg_rewrite
Previous Message Jeremy Drake 2007-03-22 00:09:22 Re: patch adding new regexp functions

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 02:24:38 Re: [PATCHES] As proposed the complete changes to pg_trigger and pg_rewrite
Previous Message Jeremy Drake 2007-03-22 00:09:22 Re: patch adding new regexp functions