Re: how can i bugfix "idle in transaction" lockups ?

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема Re: how can i bugfix "idle in transaction" lockups ?
Дата
Msg-id 1781F88D-CA84-4EAC-9513-8BAF32822230@silentmedia.com
обсуждение исходный текст
Ответ на how can i bugfix "idle in transaction" lockups ?  (Jonathan Vanasco <postgres@2xlp.com>)
Список pgsql-general
On Nov 30, 2010, at 7:21 AM, Jonathan Vanasco wrote:

> on a project, i find myself continually finding the database locked up with "idle in transaction" connections
>
> are there any commands that will allow me to check exactly what was going on in that transaction ?
>
> i couldn't find anything in the docs, and the project has decent traffic, so its going to be an issue to log all
statementsso I can sift through the data by PID 

Are those transactions actually holding locks? (You can verify by checking pg_locks.) If so, that might give you a
clue.If not, then they shouldn't be causing any lockups.... 

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

Предыдущее
От: Jonathan Vanasco
Дата:
Сообщение: how can i bugfix "idle in transaction" lockups ?
Следующее
От: "Wappler, Robert"
Дата:
Сообщение: How to indicate failure of a shell script to pgagent