From: Oliver Hitz <oliver@net-track.ch>
To: pgsql-jdbc@postgresql.org
Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore
Date: Thu, 7 May 2009 13:59:19 +0200
Message-ID: <20090507115919.GC28635@net-track.ch> (raw)
In-Reply-To: <4A028DC7.8080504@opencloud.com>
References: <20090428061649.GA5531@net-track.ch>
<49F6A066.8010105@opencloud.com>
<20090428114048.GF7543@net-track.ch>
<20090428195540.GA21951@net-track.ch>
<4A02861D.1070505@ikoffice.de>
<4A028DC7.8080504@opencloud.com>
On 07 May 2009, Oliver Jowett wrote:
> No it isn't, go look at the thread dumps, his application is blocking on
> read not on write.
The strange thing is that I didn't see anything at the backend. All
connections were idle at that time. If the application was hanging
because of a transaction lock, shouldn't I see this in pg_locks or
pg_stat_activity?
Anyway, I have changed some transactions and re-arranged some of the
code. The application is running for about four days now without a hang,
but I'm not sure if the problem has really gone away.
Oliver
Attachments:
signature.asc (application/pgp-signature, 196B) download
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: oliver@net-track.ch
Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore
In-Reply-To: <20090507115919.GC28635@net-track.ch>
References: <20090428061649.GA5531@net-track.ch> <49F6A066.8010105@opencloud.com> <20090428114048.GF7543@net-track.ch> <20090428195540.GA21951@net-track.ch> <4A02861D.1070505@ikoffice.de> <4A028DC7.8080504@opencloud.com> <20090507115919.GC28635@net-track.ch>
* 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