Connection timeout..

Started by Williams, Travis L, NPONSover 23 years ago2 messagesgeneral
Jump to latest

Is there a setting somewhere for a connection timeout.. or will a established connection stay up till it is closed?

Travis

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Williams, Travis L, NPONS (#1)
Re: Connection timeout..

"Williams, Travis L, NPONS" <tlw@att.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