From: Oliver Jowett <oliver@opencloud.com>
To: David Hustace <david@opennms.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Socket read fails
Date: Wed, 25 Jan 2006 22:12:16 +0000
Message-ID: <43D7F7C0.20501@opencloud.com> (raw)
In-Reply-To: <A174A100-FBCC-4513-8D5F-0FF5C2AF961B@opennms.org>
References: <84d3067d0601151935l581b07f1nfa231483a900518f@mail.gmail.com>
<84d3067d0601242203w6cef6a9dt90fb8c45c55b2798@mail.gmail.com>
<A174A100-FBCC-4513-8D5F-0FF5C2AF961B@opennms.org>
David Hustace wrote:
> Conclusion java is doing a read on this socket, and postmaster is doing
> a recv.
Well, that's pretty weird.
Can you reproduce this with a recent driver and loglevel=2 (append it as
a URL parameter to your JDBC URL) and send me the resulting debug output
offlist? It sounds like it might be hard to trigger though :(
> We are considering the use of DataSource instead of the deprecated
> DriverManager, since DriverManager is synchronized. Any thoughts on
> the system level debugging above or the use of the DataSource Interface?
I doubt that using DataSource will make any difference. From the stack
traces you showed, this does not look like a Java-level deadlock at all.
(I noticed that your two stack traces seem to be talking to different
server versions, though.. what's up with that?)
-O
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@opencloud.com, david@opennms.org
Subject: Re: Socket read fails
In-Reply-To: <43D7F7C0.20501@opencloud.com>
References: <84d3067d0601151935l581b07f1nfa231483a900518f@mail.gmail.com> <84d3067d0601242203w6cef6a9dt90fb8c45c55b2798@mail.gmail.com> <A174A100-FBCC-4513-8D5F-0FF5C2AF961B@opennms.org> <43D7F7C0.20501@opencloud.com>
* 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