Re: procpid in pg_stat_activity but no correspoding backend - Mailing list pgsql-general

From Jan Wieck
Subject Re: procpid in pg_stat_activity but no correspoding backend
Date
Msg-id 3FB27798.6000706@Yahoo.com
Whole thread Raw
In response to procpid in pg_stat_activity but no correspoding backend  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Responses Re: procpid in pg_stat_activity but no correspoding backend
List pgsql-general
Rajesh Kumar Mallah wrote:

>
> Hi ,
>
> I noticed that an entry in pg_stat_activity was existing for a
> long duration > 2 mins while its backend ( process corresponding
> to that procpid) was not running.
>
> how can it be possible ?
>
> version: 7.3.4

There was a bug that caused a crashing backend to hang around in the
stats until the slot is reused, because the message telling that the
backend terminates is never sent to the collector daemon. I'm not sure
if that got fixed for 7.4.


Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: [off-topic] Bugtracker using PostgreSQL
Next
From: Guy Fraser
Date:
Subject: Re: RHEL