summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tcp.4
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-09-13 15:24:27 +0000
committerglebius <glebius@FreeBSD.org>2006-09-13 15:24:27 +0000
commit2264a48ff4da64139e4fd6ce900614f9c2e863a1 (patch)
tree621dea07f728cc84640eaa46a69d42aa2ce70074 /share/man/man4/tcp.4
parentfc2dc7ce4e26696c2770df02dfe66d11ec1f3ab2 (diff)
downloadFreeBSD-src-2264a48ff4da64139e4fd6ce900614f9c2e863a1.zip
FreeBSD-src-2264a48ff4da64139e4fd6ce900614f9c2e863a1.tar.gz
Document net.inet.tcp.maxtcptw and net.inet.tcp.nolocaltimewait.
Wording by: Devon O'Dell
Diffstat (limited to 'share/man/man4/tcp.4')
-rw-r--r--share/man/man4/tcp.420
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index e9bbb04..ee7085e 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -32,7 +32,7 @@
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd August 25, 2005
+.Dd September 13, 2006
.Dt TCP 4
.Os
.Sh NAME
@@ -460,6 +460,24 @@ only.
.It Va sack.initburst
Control the number of SACK retransmissions done upon initiation of SACK
recovery.
+.It Va maxtcptw
+When a TCP connection enters the
+.Dv TIME_WAIT
+state, its associated socket structure is freed, since it is of
+negligible size and use, and a new structure is allocated to contain a
+minimal amount of information necessary for sustaining a connection in
+this state, called the compressed TCP TIME_WAIT state.
+Since this structure is smaller than a socket structure, it can save
+a significant amount of system memory.
+The
+.Va net.inet.tcp.maxtcptw
+MIB variable controls the maximum number of these structures allocated.
+By default, it is initialized to
+.Va kern.ipc.maxsockets
+/ 5 .
+.It Va nolocaltimewait
+Suppress creating of compressed TCP TIME_WAIT states for connections in
+which both endpoints are local.
.El
.Sh ERRORS
A socket operation may fail with one of the following errors returned:
OpenPOWER on IntegriCloud