Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 68601632A19 for ; Fri, 30 Jul 2010 19:28:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 45631-10 for ; Fri, 30 Jul 2010 22:28:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 1A12B6328DA for ; Fri, 30 Jul 2010 19:28:36 -0300 (ADT) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Oey44-0007QN-Nl; Sat, 31 Jul 2010 10:28:28 +1200 Message-ID: <4C535206.4070703@opencloud.com> Date: Sat, 31 Jul 2010 10:28:22 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: David Kerr CC: pgsql-jdbc@postgresql.org Subject: Re: Idle in TX / Java process hang's in the vicinity of JDBC References: <20100729182538.GB49189@mr-paradox.net> <20100729210645.GA61182@mr-paradox.net> <4C52FF6A.3090302@mr-paradox.net> In-Reply-To: <4C52FF6A.3090302@mr-paradox.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.5 tagged_above=-10 required=5 tests=BAYES_05=-0.5 X-Spam-Level: X-Archive-Number: 201007/137 X-Sequence-Number: 20802 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