pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Mike Bridge <mike@bridgecanada.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Connections dropped randomly
Date: Thu, 02 Sep 2004 19:27:15 -0400
Message-ID: <1094167635.1543.28.camel@localhost.localdomain> (raw)
In-Reply-To: <20040902170953.A19017@bridgecanada.com>
References: <20040902170953.A19017@bridgecanada.com>

Without seeing your code, or your setup, it's hard to say.

But given that exactly the same thing is done by lots of other people
without the problem, I'd be hard pressed to say it's a bug in the
driver, or postgresql.

Dave
On Thu, 2004-09-02 at 19:09, Mike Bridge wrote:
> I find that if I reuse a jdbc connection to perform a number of 
> update queries (e.g. 1000), the connection keeps getting dropped
> after a random number of iterations. 
> 
> This occurs in all sorts of queries throughout my application.  Any 
> idea what might be causing this?  I'm not doing anything 
> out-of-the-ordinary, and it happens on both prepared statements 
> and regular statements.
> 
> I had this problem in postgres 7.3, and it's still there after 
> upgrading to 7.4.4 & pg74.215.jdbc2.jar.
> 
> Thanks,
> 
> -Mike
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
-- 
Dave Cramer
519 939 0336
ICQ # 14675561
www.postgresintl.com




view thread (4+ messages)  latest in thread

Message-ID: <1094167635.1543.28.camel@localhost.localdomain>
Permalink:  ../1094167635.1543.28.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1094167635.1543.28.camel@localhost.localdomain

 · 

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: pg@fastcrypt.com, mike@bridgecanada.com
  Subject: Re: Connections dropped randomly
  In-Reply-To: <1094167635.1543.28.camel@localhost.localdomain>
  References: <20040902170953.A19017@bridgecanada.com> <1094167635.1543.28.camel@localhost.localdomain>

* 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