X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4680F5E4735 for ; Thu, 2 Sep 2004 20:25:31 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94856-08 for ; Thu, 2 Sep 2004 23:25:25 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 84DC65E472F for ; Thu, 2 Sep 2004 20:25:23 -0300 (ADT) Received: (qmail 26286 invoked from network); 2 Sep 2004 23:25:25 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 2 Sep 2004 23:25:25 -0000 Subject: Re: Connections dropped randomly From: Dave Cramer Reply-To: pg@fastcrypt.com To: Mike Bridge Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <20040902170953.A19017@bridgecanada.com> References: <20040902170953.A19017@bridgecanada.com> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1094167635.1543.28.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 02 Sep 2004 19:27:15 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/9 X-Sequence-Number: 10899 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