Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id CC5B69FA333 for ; Wed, 11 Oct 2006 15:13:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 01676-05 for ; Wed, 11 Oct 2006 18:13:21 +0000 (UTC) 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 D70C49FB1CE for ; Wed, 11 Oct 2006 15:13:20 -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 k9BIDJPh027573; Wed, 11 Oct 2006 14:13:19 -0400 (EDT) To: Michael Goldner cc: 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 13:14:59 -0400" Date: Wed, 11 Oct 2006 14:13:18 -0400 Message-ID: <27572.1160590398@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/73 X-Sequence-Number: 15956 Michael Goldner writes: > Could autovacuum be using enough memory so that postgres cannot handle > the insert of the large row? No. You might be having locking problems, though --- have you looked into pg_locks to see if anything is blocked on a lock? Those "INSERT waiting" processes certainly look like they are so blocked. There was a thread just yesterday http://archives.postgresql.org/pgsql-performance/2006-10/msg00190.php suggesting that 8.1's autovacuum might have some as-yet-undetermined locking issues, but that's only speculation at this point. If you can get some evidence showing that it's really happening, I'm all ears... regards, tom lane