Re: idle processes

From: Robert Paulsen <robert(at)paulsenonline(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: idle processes
Date: 2004-08-14 18:22:24
Message-ID: 200408141322.24596.robert@paulsenonline.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday 14 August 2004 01:01 pm, CSN wrote:
> 'ps axu' shows:
>
> postgres 1249 0.0 0.7 20200 7296 ? S
> 11:50 0:00 postgres: user1 database1 127.0.0.1 idle
> postgres 1251 0.0 0.6 20196 7036 ? S
> 11:50 0:00 postgres: user1 database1 127.0.0.1 idle
> postgres 1264 0.0 0.3 19936 3200 ? S
> 11:50 0:00 postgres: user1 database1 127.0.0.1 idle
> postgres 1267 0.0 0.2 19936 2992 ? S
> 11:50 0:00 postgres: user1 database1 127.0.0.1 idle
> postgres 1274 0.0 0.2 19936 2996 ? S
> 11:50 0:00 postgres: user1 database1 127.0.0.1 idle
> postgres 1275 0.0 0.2 19936 3000 ? S
> 11:50 0:00 postgres: user1 database1 127.0.0.1 idle
>
> Any idea why these processes are hanging around (for
> about 20 minutes)? There's not any other query hogging
> that database. Will they eventually timeout?
>

Are you using persistant connections? For example, with PHP are you using
pg_pconnect instead of pg_connect?

--
Robert C. Paulsen, Jr.
robert(at)paulsenonline(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Welty 2004-08-14 18:27:52 Re: PostgreSQL 8.0 Feature List?
Previous Message Joshua D. Drake 2004-08-14 18:02:36 Re: Web application: Programming language/Framework