pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Kerr <dmk@mr-paradox.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Idle in TX / Java process hang's in the vicinity of JDBC
Date: Fri, 30 Jul 2010 09:35:54 -0700
Message-ID: <4C52FF6A.3090302@mr-paradox.net> (raw)
In-Reply-To: <alpine.DEB.2.00.1007300944020.2654@aragorn.flymine.org>
References: <20100729182538.GB49189@mr-paradox.net>
	<alpine.BSO.2.00.1007291604460.25915@leary.csoft.net>
	<20100729210645.GA61182@mr-paradox.net>
	<alpine.DEB.2.00.1007300944020.2654@aragorn.flymine.org>

On 7/30/2010 1:44 AM, Matthew Wakeling wrote:
> On Thu, 29 Jul 2010, David Kerr wrote:
>> Getting protocols out of sync sort of sounds to me like a network glitch
>> of some sort to me. does that sound possible?
>
> No. TCP has pretty robust mechanisms for preventing that sort of error.
>
> Matthew
>

Ok, yes that's consistent with what we found yesterday where we were 
able to reproduce it on system that was being used by other people
without problem.

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.

Thanks

Dave



view thread (7+ messages)  latest in thread

Message-ID: <4C52FF6A.3090302@mr-paradox.net>
Permalink:  ../4C52FF6A.3090302@mr-paradox.net/
Also on:    postgresql.org/message-id/4C52FF6A.3090302@mr-paradox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: dmk@mr-paradox.net
  Subject: Re: Idle in TX / Java process hang's in the vicinity of JDBC
  In-Reply-To: <4C52FF6A.3090302@mr-paradox.net>
  References: <20100729182538.GB49189@mr-paradox.net> <alpine.BSO.2.00.1007291604460.25915@leary.csoft.net> <20100729210645.GA61182@mr-paradox.net> <alpine.DEB.2.00.1007300944020.2654@aragorn.flymine.org> <4C52FF6A.3090302@mr-paradox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox