From: Nicolas Modrzyk <Nicolas.Modrzyk@inrialpes.fr>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Cc: c-jdbc mailing list <c-jdbc@objectweb.org>
Subject: Postgresql driver Question
Date: Wed, 01 Dec 2004 09:31:56 +0100
Message-ID: <41AD817C.3000503@inrialpes.fr> (raw)
In-Reply-To: <41AD0C45.2090002@opencloud.com>
References: <6D48B8403D926449BDE8440EC7EEC46D021F2026@max.ppinet.de>
<Pine.BSO.4.56.0411300213500.5924@leary.csoft.net>
<41AC5A33.8020009@fastcrypt.com>
<Pine.BSO.4.56.0411300638040.8244@leary.csoft.net>
<41AC65A0.4070503@fastcrypt.com>
<21155.1101832716@sss.pgh.pa.us>
<41ACFF96.6090501@fastcrypt.com>
<41AD0C45.2090002@opencloud.com>
Hi All,
We are performing intensive stress test of C-JDBC on top of a cluster of
4 postgresql servers.
During a run, one of the insert request was blocked in the postgresql
JDBC driver (latest version ...)
Here is the stack trace:
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
- locked <0xe7bf4cf0> (a java.io.BufferedInputStream)
at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:166)
at
org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:127)
- locked <0xe7bf2c10> (a org.postgresql.core.PGStream)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:517)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:273)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:259)
Does that mean the postgresql server failed to send the result of the
update ?
Any idea on how to prevent this ?
Any help would be appreciated,
Nicolas Modrzyk,
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: Nicolas.Modrzyk@inrialpes.fr, books@ejurka.com, c-jdbc@objectweb.org
Subject: Re: Postgresql driver Question
In-Reply-To: <41AD817C.3000503@inrialpes.fr>
References: <6D48B8403D926449BDE8440EC7EEC46D021F2026@max.ppinet.de> <Pine.BSO.4.56.0411300213500.5924@leary.csoft.net> <41AC5A33.8020009@fastcrypt.com> <Pine.BSO.4.56.0411300638040.8244@leary.csoft.net> <41AC65A0.4070503@fastcrypt.com> <21155.1101832716@sss.pgh.pa.us> <41ACFF96.6090501@fastcrypt.com> <41AD0C45.2090002@opencloud.com> <41AD817C.3000503@inrialpes.fr>
* 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