jdbc tcpKeepAlive parameter

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: jdbc tcpKeepAlive parameter
Date: 2011-10-18 23:42:42
Message-ID: 4E9E0EF2.1050004@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

the documentation is a little skimpy on the operation of tcpKeepAlive...

we've got a scenario where the java client applications sometimes abort
without cleaning up, and leave a postgres server process just sitting
there. I'm assuming tcpKeepAlive=true would cause these processes to
timeout eventually and clean themselves up? Is this a 2-way keepalive,
in that if the server process dies, the client connection would timeout,
too?

on libpq, there's some options for the keepalive interval and count, but
I don't see any such in JDBC?

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2011-10-19 00:12:11 Re: jdbc tcpKeepAlive parameter
Previous Message Florent Guillaume 2011-10-17 17:34:38 Re: PGXAConnection ConnectionHandler equals bug