Re: Stale entries in pg_stat_activity

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Stale entries in pg_stat_activity
Date: 2004-10-17 06:23:58
Message-ID: 20041017062358.GA30358@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Oct 16, 2004 at 10:30:12PM -0600, Michael Fuhr wrote:
> On Sun, Oct 17, 2004 at 12:01:45AM -0400, Tom Lane wrote:
> > Michael Fuhr <mike(at)fuhr(dot)org> writes:
> > > pg_stat_activity sometimes shows old connections that have already
> > > terminated.
> >
> > Define "old"? There's a built-in delay of up to half a second (if
> > memory serves) in the statistics views.
>
> Fourteen minutes and counting.

Two hours and counting. I've also reproduced the problem using
pgbench against 8.0.0beta3 on FreeBSD 4.10-STABLE.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PostgreSQL Bugs List 2004-10-17 12:22:11 BUG #1287: Bug in www.postgresql.org php-code
Previous Message Michael Fuhr 2004-10-17 04:30:12 Re: Stale entries in pg_stat_activity