Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 398316330B8 for ; Thu, 29 Jul 2010 18:06:55 -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 32498-09 for ; Thu, 29 Jul 2010 21:06:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from vexbert.mr-paradox.net (vexbert.mr-paradox.net [198.145.180.174]) by mail.postgresql.org (Postfix) with ESMTP id 873986322DA for ; Thu, 29 Jul 2010 18:06:47 -0300 (ADT) Received: by vexbert.mr-paradox.net (Postfix, from userid 18391) id A3553845FC; Thu, 29 Jul 2010 17:06:45 -0400 (EDT) Date: Thu, 29 Jul 2010 14:06:45 -0700 From: David Kerr To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Subject: Re: Idle in TX / Java process hang's in the vicinity of JDBC Message-ID: <20100729210645.GA61182@mr-paradox.net> References: <20100729182538.GB49189@mr-paradox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/129 X-Sequence-Number: 20794 - >org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:235) - - The stacktrace indicates that Statement.executeQuery was called and the - JDBC driver started receiving the results from the server. The driver is - in the middle of reading a particular row and is waiting for more data - from the server. From what you're saying the server thinks it is done, - but the driver does not, indicating loss of protocol synchronization. - That's tough to debug after the fact, without a reproducible case or - network traffic dump. If you still have this connection stuck in this - state you could try poking around with a debugger to say what values the - ReceiveTupleV3 routine has for l_size and already stored in answer. Thanks, that's helpful! we don't have a debugger configured for that JVM so we might have to try to catch it next time around. Getting protocols out of sync sort of sounds to me like a network glitch of some sort to me. does that sound possible? - >We were wondering what the: - >org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192) - > - locked org.postgresql.core.v3.QueryExecutorImpl@18493c9 - > - >was refering to. - > - - This is just indicating that this routine is synchronized. This is done - to prevent multiple threads from trying to communicate with the server - simultaneously and does not indicate a problem. Awesome, thanks. Dave