outdated (bad) information in pg_stat_activity

From: hubert depesz lubaczewski <depesz(at)gmail(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: outdated (bad) information in pg_stat_activity
Date: 2005-12-14 14:02:48
Message-ID: 9e4684ce0512140602y4f541a64o4ffadacfc6188883@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi
my pg_stat_activity is raporting process working on a query for 12 hours
straight! (query_start).
2 problems:
1. this particular query runs typically between 80 and 200 miliseconds!
2. procpid of this backend does not exists anymore in system

i found this:
http://www.issociate.de/board/post/264560/possibly_outdated_info_in_pg_stat_activity.html

is there any workaround? what can be done to fix the data - i am using
pg_stat_activity a lot, and this thing really ruined my day.

best regards

depesz

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Rysdam 2005-12-14 14:26:16 Re: "incomplete startup packet" on SGI
Previous Message John Sidney-Woollett 2005-12-14 13:52:00 Re: Memory Leakage Problem