Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2BDC19FB273 for ; Wed, 11 Oct 2006 16:15:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 84749-03 for ; Wed, 11 Oct 2006 16:15:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B47A89FB1CD for ; Wed, 11 Oct 2006 16:15:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9BJFMSF013680; Wed, 11 Oct 2006 15:15:22 -0400 (EDT) To: Michael Goldner cc: Dave Cramer , Michael Goldner , pgsql-jdbc@postgresql.org Subject: Re: "Hanging Connection" blocks access to table (JBossMQ) In-reply-to: References: Comments: In-reply-to Michael Goldner message dated "Wed, 11 Oct 2006 15:09:16 -0400" Date: Wed, 11 Oct 2006 15:15:22 -0400 Message-ID: <13679.1160594122@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.09 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/77 X-Sequence-Number: 15960 Michael Goldner writes: > When I shutdown Jboss, the idle process disappears, but the 2 "INSERT > waiting" processes remain indefinitely. Ah. That makes sense, because a backend blocked partway through a query isn't going to notice its client disconnecting. The question here though is still "what are they waiting for?". See pg_locks. regards, tom lane