X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EF965539D4 for ; Thu, 7 Apr 2005 11:49:51 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24260-01 for ; Thu, 7 Apr 2005 10:49:50 +0000 (GMT) Received: from mail.logix-tt.com (wallaby.dingens.org [212.75.36.180]) by svr1.postgresql.org (Postfix) with ESMTP id A5FD053834 for ; Thu, 7 Apr 2005 11:49:45 +0100 (BST) Received: from kingfisher.intern.logi-track.com (pD95DC1AD.dip0.t-ipconnect.de [217.93.193.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 90986A85AA; Thu, 7 Apr 2005 12:49:48 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logi-track.com (Postfix) with ESMTP id CAB6FAB19F; Thu, 7 Apr 2005 12:49:19 +0200 (CEST) Message-ID: <4255102A.9030800@logix-tt.com> Date: Thu, 07 Apr 2005 12:49:14 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Mozilla Thunderbird 1.0 (X11/20050116) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Scott Marlowe Cc: John R Pierce , anthony@webmediaworks.co.uk, pgsql-jdbc@postgresql.org Subject: Re: An I/O error occured while sending to the backend References: <001701c53a90$cf879cc0$6600a8c0@kermit> <42540D4D.2000504@hogranch.com> <1112808952.20921.42.camel@state.g2switchworks.com> In-Reply-To: <1112808952.20921.42.camel@state.g2switchworks.com> X-Enigmail-Version: 0.90.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig696B88DE6FCB94EC599D4507" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/45 X-Sequence-Number: 12652 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig696B88DE6FCB94EC599D4507 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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 --------------enig696B88DE6FCB94EC599D4507 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCVRAvyHQIGEs7eeARA22wAKCYTnF5ACyxbO/FfDm1XSfKqo62oACg9GVa DHPoxXTPbcrF7b7URbfnyMQ= =RbTV -----END PGP SIGNATURE----- --------------enig696B88DE6FCB94EC599D4507--