From: Breno BF <brenobfernandes@bsd.com.br>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: An I/O error occured while sending to the backend.
Date: Tue, 6 Apr 2010 12:01:11 -0300
Message-ID: <k2qa21be61a1004060801y7cd3db8m3dc666bd39dca8b7@mail.gmail.com> (raw)
In-Reply-To: <4BBAB406.4080303@postnewspapers.com.au>
References: <v2ma21be61a1004051841vd6abc9f2gd79945115103661e@mail.gmail.com>
<4BBAB406.4080303@postnewspapers.com.au>
Hi,
Craig, since I changed it to info, I could not see nothing in postgres logs
when the problem occurs.
log_min_messages = info
log_min_error_statement = info
should I change it to debug?
-B
2010/4/6 Craig Ringer <craig@postnewspapers.com.au>
> Breno BF wrote:
>
> > I am getting this error using glassfish and postgresql: " Caused by:
> > org.postgresql.util.PSQLException: An I/O error occured while sending to
> > the backend."
>
> Further in the exception log, you'll see:
>
> Caused by: java.net.SocketException: Socket closed
>
> In other words, the pgsql backend has "hung up" on the client. Most
> likely the Pg backend terminated for some reason, which you should see
> in the PostgreSQL logs.
>
> > log_min_messages = error
> > log_min_error_statement = error
>
> Turn these down to at least 'info', restart PostgreSQL, and see if you
> get anything informative in the logs.
>
> --
> Craig Ringer
>
--
- breno bf
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: brenobfernandes@bsd.com.br, craig@postnewspapers.com.au
Subject: Re: An I/O error occured while sending to the backend.
In-Reply-To: <k2qa21be61a1004060801y7cd3db8m3dc666bd39dca8b7@mail.gmail.com>
References: <v2ma21be61a1004051841vd6abc9f2gd79945115103661e@mail.gmail.com> <4BBAB406.4080303@postnewspapers.com.au> <k2qa21be61a1004060801y7cd3db8m3dc666bd39dca8b7@mail.gmail.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