Re: An I/O error occured while sending to the backend - Mailing list pgsql-jdbc

From Markus Schaber
Subject Re: An I/O error occured while sending to the backend
Date
Msg-id 4255102A.9030800@logix-tt.com
Whole thread Raw
In response to Re: An I/O error occured while sending to the backend  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-jdbc
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

Attachment

pgsql-jdbc by date:

Previous
From: Vernon
Date:
Subject: Unable to load the driver class
Next
From: "Anthony Chaffey"
Date:
Subject: Re: An I/O error occured while sending to the backend