Re: possibly outdated info in pg_stat_activity - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: possibly outdated info in pg_stat_activity
Date
Msg-id 20051017141213.GC18832@surnet.cl
Whole thread Raw
In response to possibly outdated info in pg_stat_activity  (Rajesh Kumar Mallah <mallah.rajesh@gmail.com>)
List pgsql-admin
Rajesh Kumar Mallah wrote:

> 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).

This is normal behavior.  Sometimes the packets used to update the stat
collector's information are lost due to the nature of the UDP socket.
You shouldn't see this problem under light load.

--
Alvaro Herrera                         Architect, http://www.EnterpriseDB.com
"The first of April is the day we remember what we are
the other 364 days of the year"  (Mark Twain)

pgsql-admin by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: Question: 2 GB file limit on linux
Next
From: Craig Servin
Date:
Subject: PostgreSQL/Linux/IO Scheduler/File Systems and Performance