pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: pgsql-admin@postgresql.org
Subject: possibly outdated info in pg_stat_activity
Date: Mon, 17 Oct 2005 10:31:03 +0530
Message-ID: <a97c77030510162201l254ca4ccpfa94cdaf036480bb@mail.gmail.com> (raw)

Hi,

PID 3533 does not exists in the system but its still  in pg_stat_activity.
This is PostgreSQL 8.0.3 on i686-pc-linux-gnu, compiled by GCC gcc
(GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-49). Not sure if its already
known issue , advance apologies if
so.

tradein_clients=# SELECT procpid,query_start,
substring(btrim(current_query),0,50)  from pg_stat_activity order by
query_start limit 20;
+---------+----------------------------------+---------------------------------------------------+
| procpid |           query_start            |                    
substring                     |
+---------+----------------------------------+---------------------------------------------------+
|    3533 | 2005-10-16 22:26:21.981728+05:30 | select
prod_serv,memb_affil,eyp,pacode,estd,entry |
|    3649 | 2005-10-16 22:26:33.168702+05:30 | <IDLE> in transaction  
                          |
|   31579 | 2005-10-17 10:19:21.185764+05:30 | <IDLE>                 
                          |
|   32142 | 2005-10-17 10:21:46.696032+05:30 | <IDLE>                 
                          |
|   31715 | 2005-10-17 10:21:57.676293+05:30 | <IDLE>                 
                          |
|    3508 | 2005-10-17 10:22:12.500686+05:30 | <IDLE>                 
                          |
|     830 | 2005-10-17 10:23:04.34449+05:30  | <IDLE>                 
                          |
|   32197 | 2005-10-17 10:23:05.458473+05:30 | <IDLE>                 
                          |
|   31210 | 2005-10-17 10:23:20.55451+05:30  | <IDLE>                 
                          |
|     751 | 2005-10-17 10:24:33.519166+05:30 | <IDLE>                 
                          |
|   31908 | 2005-10-17 10:24:51.839088+05:30 | <IDLE>                 
                          |
|   31651 | 2005-10-17 10:24:53.896042+05:30 | <IDLE>                 
                          |
|    8777 | 2005-10-17 10:24:54.074668+05:30 | <IDLE>                 
                          |
|   31338 | 2005-10-17 10:25:28.248292+05:30 | <IDLE>                 
                          |
|    7547 | 2005-10-17 10:25:36.473533+05:30 | <IDLE>                 
                          |
|   10387 | 2005-10-17 10:26:00.250297+05:30 | <IDLE>                 
                          |
|    1399 | 2005-10-17 10:26:02.775205+05:30 | <IDLE>                 
                          |
|     867 | 2005-10-17 10:26:13.393084+05:30 | <IDLE>                 
                          |
|   10543 | 2005-10-17 10:26:14.258694+05:30 | <IDLE>                 
                          |
|    8680 | 2005-10-17 10:26:19.020959+05:30 | <IDLE>                 
                          |
+---------+----------------------------------+---------------------------------------------------+
(20 rows)



view thread (2+ messages)  latest in thread

Message-ID: <a97c77030510162201l254ca4ccpfa94cdaf036480bb@mail.gmail.com>
Permalink:  ../a97c77030510162201l254ca4ccpfa94cdaf036480bb@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030510162201l254ca4ccpfa94cdaf036480bb@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com
  Subject: Re: possibly outdated info in pg_stat_activity
  In-Reply-To: <a97c77030510162201l254ca4ccpfa94cdaf036480bb@mail.gmail.com>
  References: <a97c77030510162201l254ca4ccpfa94cdaf036480bb@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox