* Re: Q: How do I change the TCP/IP KeepAlive_Interval?
[not found] <ACB5D2169668107F7@bifroest.demon.co.uk>
@ 1995-10-28 4:00 ` Jeffrey Mogul
0 siblings, 0 replies; only message in thread
From: Jeffrey Mogul @ 1995-10-28 4:00 UTC (permalink / raw)
In article <ACB5D2169668107F7@bifroest.demon.co.uk> Ian_Miller@bifroest.demon.co.uk (Ian Miller) writes:
>We are using the TCP socket option of sending KeepAlives (SO_KEEPALIVE).
>However, the interval between sending the KeepAlives defaults (on most
>O/Ss) to two hours which is far too long for our purposes. It is normally
>system wide parameter, and it should be possible to change it. However I
>cannot work out how to do it on Alpha/OSF1. I have done this on other O/Ss
>but I am novice on OSF1.
One way to discover if a kernel variable exists is to search the
kernel's symbol table. I did:
% nm -B /vmunix |grep -i keep
on my 3.0 system (I'm a little slow about upgrading!) and got
0xfffffc0000515610 G tcp_keepidle
0xfffffc0000515618 G tcp_keepintvl
0xfffffc00002c4d40 T u_map_keep_on_exec
0xfffffc00002c7070 T vm_keep_on_exec
The first two look promising, huh? Since I have the source
code, I can tell you that tcp_keepidle is initialized to
TCPTV_KEEP_IDLE, and tcp_keepintvl is initialized to
TCPTV_KEEPINTVL. These values are described in the header
file /usr/include/netinet/tcp/tcp_timer.h
#define TCPTV_KEEP_IDLE (120*60*PR_SLOWHZ) /* dflt time before probing */
#define TCPTV_KEEPINTVL ( 75*PR_SLOWHZ) /* default probe interval */
I suspect that you want to patch tcp_keepidle to something smaller.
-Jeff
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-28 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <ACB5D2169668107F7@bifroest.demon.co.uk>
1995-10-28 4:00 ` Q: How do I change the TCP/IP KeepAlive_Interval? Jeffrey Mogul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox