Re: procpid in pg_stat_activity but no correspoding backend

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: procpid in pg_stat_activity but no correspoding backend
Date: 2003-11-12 18:10:32
Message-ID: 3FB27798.6000706@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guy Fraser 2003-11-12 18:13:03 Re: RHEL
Previous Message Rajesh Kumar Mallah 2003-11-12 18:05:16 Re: Postgre Architecture