From: Markus Schaber <schabi@logix-tt.com>
To: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: John R Pierce <pierce@hogranch.com>
Cc: anthony@webmediaworks.co.uk
Cc: pgsql-jdbc@postgresql.org
Subject: Re: An I/O error occured while sending to the backend
Date: Thu, 07 Apr 2005 12:49:14 +0200
Message-ID: <4255102A.9030800@logix-tt.com> (raw)
In-Reply-To: <1112808952.20921.42.camel@state.g2switchworks.com>
References: <001701c53a90$cf879cc0$6600a8c0@kermit>
<42540D4D.2000504@hogranch.com>
<1112808952.20921.42.camel@state.g2switchworks.com>
Hi, Scott,
Scott Marlowe schrieb:
>>only good solution is to catch the exception, and attempt to reopen the
>>database connection, and retry the operation....
> Does setting a lower tcp_keepalive_time help these problems with NAT?
> It certainly fixed the problems I've seen with non-NAT firewalls. (this
> is a linux kernel setting, i'm sure there's an equivalent for other
> unixes)
java.net.Socket has some settings about timeouts and keepalives, maybe
those will help.
Markus
Attachments:
signature.asc (application/pgp-signature, 255B) 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: schabi@logix-tt.com, smarlowe@g2switchworks.com, pierce@hogranch.com, anthony@webmediaworks.co.uk
Subject: Re: An I/O error occured while sending to the backend
In-Reply-To: <4255102A.9030800@logix-tt.com>
References: <001701c53a90$cf879cc0$6600a8c0@kermit> <42540D4D.2000504@hogranch.com> <1112808952.20921.42.camel@state.g2switchworks.com> <4255102A.9030800@logix-tt.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