Re: Socket idle disconnect - how to prevent?
From: Robert Nichols (SEE_SIGNATURE_at_localhost.localdomain.invalid)
Date: 11/17/05
- Previous message: Lenard: "Re: Linux fedora core 4 ... GRUB loading stage2... booting message"
- In reply to: KosayaC_at_netscape.net: "Socket idle disconnect - how to prevent?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Nov 2005 16:51:16 +0000 (UTC)
In article <udIef.61201$qk4.2520@bgtnsc05-news.ops.worldnet.att.net>,
<KosayaC@netscape.net> wrote:
:Is there a way to prevent RedHat ES3 from disconnecting persistent Tcp/Ip
:sockets that have periods of idle data exhange?
Just how long _is_ this idle period, anyway? Two parameters in
/proc/sys/net/ipv4 control TCP keepalive. Fedora Core 3 has a default
of 7200 (2 hours) for tcp_keepalive_time and 9 for tcp_keepalive_probes
should keep an idle connection up for 18 hours. Of course that also
depends on the patience of the other end of the connection.
In the kernel doc files you'll find Documentation/filesystems/proc.txt
which describes these and many other parameters you can adjust.
-- Bob Nichols AT comcast.net I am "RNichols42"
- Previous message: Lenard: "Re: Linux fedora core 4 ... GRUB loading stage2... booting message"
- In reply to: KosayaC_at_netscape.net: "Socket idle disconnect - how to prevent?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]