pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Breno BF <brenobfernandes@bsd.com.br>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: An I/O error occured while sending to the backend.
Date: Wed, 07 Apr 2010 20:54:10 +0800
Message-ID: <4BBC8072.1020002@postnewspapers.com.au> (raw)
In-Reply-To: <k2qa21be61a1004060801y7cd3db8m3dc666bd39dca8b7@mail.gmail.com>
References: <v2ma21be61a1004051841vd6abc9f2gd79945115103661e@mail.gmail.com>
	<4BBAB406.4080303@postnewspapers.com.au>
	<k2qa21be61a1004060801y7cd3db8m3dc666bd39dca8b7@mail.gmail.com>

On 6/04/2010 11:01 PM, Breno BF wrote:
> 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?

Er... sure.

Given that both client and server are on the local host I'd really 
expect _some_ kind of indication that a backend was going away and 
leaving the client without a connection. Clearly the connection pool 
behind JPA expects the connection to still be active, and without any 
network-layer issues to get in the way, it really must be the backend 
dying for some reason.

--
Craig Ringer



view thread (27+ messages)  latest in thread

Message-ID: <4BBC8072.1020002@postnewspapers.com.au>
Permalink:  ../4BBC8072.1020002@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4BBC8072.1020002@postnewspapers.com.au

 · 

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: craig@postnewspapers.com.au, brenobfernandes@bsd.com.br
  Subject: Re: An I/O error occured while sending to the backend.
  In-Reply-To: <4BBC8072.1020002@postnewspapers.com.au>
  References: <v2ma21be61a1004051841vd6abc9f2gd79945115103661e@mail.gmail.com> <4BBAB406.4080303@postnewspapers.com.au> <k2qa21be61a1004060801y7cd3db8m3dc666bd39dca8b7@mail.gmail.com> <4BBC8072.1020002@postnewspapers.com.au>

* 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