Connection timeout..
Connection timeout..
От:
"Williams, Travis L, NPONS" <tlw@att.com>
Дата:
Is there a setting somewhere for a connection timeout.. or will a established connection stay up till it is closed? Travis
Re: Connection timeout..
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Williams, Travis L, NPONS" 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