Re: Idle in TX / Java process hang's in the vicinity of 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 по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: PLEASE REMOVEME FROM THIS LIST
Следующее
От: Alexander Yerenkow
Дата:
Сообщение: "Mons" in JDBC driver