Re: Idle in TX / Java process hang's in the vicinity of JDBC
В списке pgsql-jdbc по дате отправления:
| От | David Kerr |
|---|---|
| Тема | Re: Idle in TX / Java process hang's in the vicinity of JDBC |
| Дата | |
| Msg-id | 20100802141112.GC70014@mr-paradox.net обсуждение |
| Ответ на | Re: Idle in TX / Java process hang's in the vicinity of JDBC (Oliver Jowett <oliver@opencloud.com>) |
| Список | pgsql-jdbc |
On Sat, Jul 31, 2010 at 10:28:22AM +1200, Oliver Jowett wrote: - David Kerr wrote: - - > we've got a working theory that the program opens up a connection to - > DB1 and DB2. In DB1 we're running a very long query (15 minutes) and - > after some sort of timeout(or something) the program hangs leaving the - > idle in TX in DB2. - - You may want to look at any firewalls you have between the client and - the DBs. Often, stateful firewalls will drop state for connections that - are idle for extended periods. - - -O - Turns out, they were accessing a 2nd DB on a seprate server that (that the developers neglected to mention) and that process was spinning due to bad statistics on the tables. so this process was just sitting there legitimately waiting. Thanks for all the replies! Dave
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера