pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Goldner <mike.goldner@comcast.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: "Hanging Connection" blocks access to table (JBossMQ)
Date: Wed, 11 Oct 2006 14:13:18 -0400
Message-ID: <27572.1160590398@sss.pgh.pa.us> (raw)
In-Reply-To: <C1529ED3.1CE8%mike.goldner@comcast.net>
References: <C1529ED3.1CE8%mike.goldner@comcast.net>

Michael Goldner <mike.goldner@comcast.net> 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



view thread (11+ messages)  latest in thread

Message-ID: <27572.1160590398@sss.pgh.pa.us>
Permalink:  ../27572.1160590398@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27572.1160590398@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mike.goldner@comcast.net
  Subject: Re: "Hanging Connection" blocks access to table (JBossMQ)
  In-Reply-To: <27572.1160590398@sss.pgh.pa.us>
  References: <C1529ED3.1CE8%mike.goldner@comcast.net> <27572.1160590398@sss.pgh.pa.us>

* 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