Re: Idle in transaction

From: Richard Huxton <dev(at)archonet(dot)com>
To: "Sharma, Sid" <ssharma(at)bjs(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Idle in transaction
Date: 2009-07-17 14:52:15
Message-ID: 4A60901F.6080805@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sharma, Sid wrote:
> Sorry. Forgot to mention the postgres version
>
> PostgreSQL 8.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96

Why on earth are you using that version? At the very least upgrade to
8.1.17 and if this is a new app, why not use 8.4?

> When I look at the db connections (via ps), I notice that all existing
> connections are in 'Idle in Transaction' state.
>
> They never go to idle state.

You don't say how you are connecting to the DB, but it's probably your
connection manager. Are you running some sort of connection pooling perhaps?

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-07-17 14:52:27 Re: Idle in transaction
Previous Message Scott Marlowe 2009-07-17 14:51:26 Re: Idle in transaction