Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 78924 invoked from network); 4 Apr 2007 08:30:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 08:30:53 -0000 Received: (qmail 20089 invoked by uid 500); 4 Apr 2007 08:31:00 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 19837 invoked by uid 500); 4 Apr 2007 08:30:59 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 19828 invoked by uid 99); 4 Apr 2007 08:30:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 01:30:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [129.241.210.179] (HELO decibel.pvv.ntnu.no) (129.241.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 01:30:51 -0700 Received: from ti131310a080-13830.bb.online.no ([85.165.246.6] helo=[10.0.1.2]) by decibel.pvv.ntnu.no with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.60) (envelope-from ) id 1HZ0ss-0006sz-TV for user@cayenne.apache.org; Wed, 04 Apr 2007 10:30:27 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <49D23F7404DC5B4086D7352312597E0FD269BC@FNHH-SVMEXDB002.Freenet-AG.de> References: <49D23F7404DC5B4086D7352312597E0FD269BC@FNHH-SVMEXDB002.Freenet-AG.de> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Tore Halset Subject: Re: AW: postgres, idle in transaction Date: Wed, 4 Apr 2007 10:30:19 +0200 To: user@cayenne.apache.org X-Mailer: Apple Mail (2.752.2) X-Spam-Score: -1.4 (-) X-Spam-Report: Status=No hits=-1.4 required=5.0 tests=ALL_TRUSTED version=3.1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello. I am using cayenne with PostgreSQL, but have not seen this problem. =20 Are you using a new PostgreSQL release and and a jdbc-driver matching =20= that version? Search http://jdbc.postgresql.org/changes.html has one =20 bugfix related to this from back in 2004. In a (old) non-cayenne environment I have had some problems with =20 connections not properly closed after use. I tracked down that =20 problem by saving the stacktrace (new Exception()) and a timestamp =20 every time a Connection is required. That way I had a register over =20 all Connections and was able to find the ones that was not closed =20 after use. Could you try to create a small example that reproduce this problem? - Tore. On Apr 4, 2007, at 8:31, Peter Schr=F6der wrote: > thank you for your reply, but we are experiencing "idle in =20 > transaction" connections that are hung and have to be killed =20 > manually. there are a lot of other connections in state "idle" =20 > which we recognized as the connection-pool. so we are already =20 > worrying ;-). > we have a lot of background/scheduled tasks in our app, so we dont =20 > really know where the problem occurs. currently we are searching =20 > our logs to find something usefull.