Re: Query stucked in pg_stat_activity - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Query stucked in pg_stat_activity
Date
Msg-id 20050809135120.GA10305@winnie.fuhr.org
Whole thread Raw
In response to Query stucked in pg_stat_activity  (Csaba Nagy <nagy@ecircle-ag.com>)
Responses Re: Query stucked in pg_stat_activity  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-general
On Tue, Aug 09, 2005 at 03:19:46PM +0200, Csaba Nagy wrote:
> I have a postgres system where we just migrated a fairly big data set.
> The application accessing it is a cluster of servers which do burst-like
> processing, i.e. when they have some work to do, it will be distributed
> in the cluster and the data base will be under fairly high load.
> On our first test run everything went fine, the only strange thing is a
> row in the pg_stat_activity, which has a row about a query which is long
> gone, the process pointed by the procpid field is not existing.

I ran across this situation a while ago, where high load caused
pg_stat_activity to have stale entries.  Tom Lane wondered if the
stats subsystem was under a high enough load that it was dropping
messages, as it's designed to do.

http://archives.postgresql.org/pgsql-bugs/2004-10/msg00163.php

--
Michael Fuhr

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Referencing "less-unique" foreign keys
Next
From: Robert Creager
Date:
Subject: PostgreSQL and ClearQuest?