summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-12-06 19:57:34 +0000
committerrwatson <rwatson@FreeBSD.org>2001-12-06 19:57:34 +0000
commit31c6261195ec05e298d0653de9445dabd27b2ea2 (patch)
tree0263c4705b4d67e38a7823f993c2e196b375eeba /share
parent7cd5dbed2d8a87a2bc3f0a0d34fc37e3e99a7fcb (diff)
downloadFreeBSD-src-31c6261195ec05e298d0653de9445dabd27b2ea2.zip
FreeBSD-src-31c6261195ec05e298d0653de9445dabd27b2ea2.tar.gz
Moderate the recommendation that TCP keepalives always be turned on;
in some environments, this may result in the early termination of legitimate TCP sessions during temporary network outages. However, maintain a strong recommendation that this be used when many network clients are dialup. Requested by: fenner
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/tuning.723
1 files changed, 13 insertions, 10 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7
index 4607977..31443a3 100644
--- a/share/man/man7/tuning.7
+++ b/share/man/man7/tuning.7
@@ -470,17 +470,20 @@ to a value larger than 65536 in order to obtain good performance out of
certain types of network links; specifically, gigabit WAN links and
high-latency satellite links.
.Pp
-We recommend that you turn on (set to 1) and leave on the
+The
.Va net.inet.tcp.always_keepalive
-control.
-The default is usually off.
-This introduces a small amount of
-additional network bandwidth but guarantees that dead TCP connections
-will eventually be recognized and cleared.
-Dead TCP connections are a
-particular problem on systems accessed by users operating over dialups,
-because users often disconnect their modems without properly closing active
-connections.
+sysctl determines whether or not the TCP implementation should attempt
+to detect dead TCP connections by intermittently delivering "keepalives"
+on the connection.
+By default, this is only enabled when an application requests it.
+For servers with many network clients and simultaneous connections, we
+recommend that this setting be turned on (set to 1).
+This may be particularly relevent on systems accessed by users
+operating over dialups, as users often disconnect their modems without
+closing active connections.
+However, in some environments, temporary network outages may be
+incorrectly identified as dead sessions, resulting unexpectedly
+terminated TCP connections.
.Pp
The
.Va kern.ipc.somaxconn
OpenPOWER on IntegriCloud