Re: Idle in transaction

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Idle in transaction
Дата
Msg-id 4A60901F.6080805@archonet.com
обсуждение исходный текст
Ответ на Re: Idle in transaction  ("Sharma, Sid" <ssharma@bjs.com>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Idle in transaction
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Idle in transaction