Re: Connection timeout..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Williams, Travis L, NPONS" <tlw(at)att(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connection timeout..
Date: 2002-10-19 16:38:04
Message-ID: 18634.1035045484@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Williams, Travis L, NPONS" <tlw(at)att(dot)com> writes:
> Is there a setting somewhere for a connection timeout.. or will a
> established connection stay up till it is closed?

No, and yes.

However, we do enable TCP KEEPALIVE mode on TCP connections. So if
network connectivity to the client is lost, the kernel will eventually
time out and close the connection. The length of the keepalive timeout
is kernel-dependent but should be an hour or more in RFC-compliant
implementations...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcin Owsiany 2002-10-19 17:17:13 Security implications of (plpgsql) functions
Previous Message Stephan Szabo 2002-10-19 16:27:34 Re: how do I do to get the foreign keys of a table?