Additional debugging of idle sessions?

Поиск
Список
Период
Сортировка
От Mike Goldner
Тема Additional debugging of idle sessions?
Дата
Msg-id 1177453293.23476.34.camel@mgoldner-desktop
обсуждение исходный текст
Ответы Re: Additional debugging of idle sessions?
Список pgsql-general
I am experiencing a blocking situation in my database (Postgresql 8.1.8
on Redhat).  When I do a "ps -ef|grep postgres" I see two processing
that are "idle in transaction" and they stay there indefinitely.

I'm running JBoss (the problem is in JBossMQ) and I'm having trouble
pinpointing the location/cause of the block as JBoss doesn't report any
errors or exceptions.  It just sits there.

Is there any way to increase the debug logging or issue a query so that
I could find the actual select statements that are idle?  That would
help me isolate the source of my problem.

Thanks

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

Предыдущее
От: Manuel Sugawara
Дата:
Сообщение: Re: Audit-trail engine: getting the application's layer user_id
Следующее
От: "John Smith"
Дата:
Сообщение: copy or create table for data logging?