aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/ip-sysctl.txt
diff options
context:
space:
mode:
authorRick Jones <rick.jones2@hp.com>2012-12-10 06:33:00 -0500
committerDavid S. Miller <davem@davemloft.net>2012-12-10 17:14:28 -0500
commitd825da2ede50160e567e666ff43c89a403bf0193 (patch)
tree9e55c2e98500481e8042e3463e42224f4e05d68c /Documentation/networking/ip-sysctl.txt
parentb146ecd6b5589f4524090cad4b55ee439c6a4925 (diff)
doc: Tighten-up and clarify description of tcp_fin_timeout
The description for tcp_fin_timeout should be tigher and more clear. In addition to being tighter, we should make the spelling of the state name consistent with what utilities report, remove the now dated reference to 2.2 and put the default in the consistent place. Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/ip-sysctl.txt')
-rw-r--r--Documentation/networking/ip-sysctl.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index 1b830cac4618..dd52d516cb89 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -224,15 +224,14 @@ tcp_fack - BOOLEAN
224 The value is not used, if tcp_sack is not enabled. 224 The value is not used, if tcp_sack is not enabled.
225 225
226tcp_fin_timeout - INTEGER 226tcp_fin_timeout - INTEGER
227 Time to hold socket in state FIN-WAIT-2, if it was closed 227 The length of time an orphaned (no longer referenced by any
228 by our side. Peer can be broken and never close its side, 228 application) connection will remain in the FIN_WAIT_2 state
229 or even died unexpectedly. Default value is 60sec. 229 before it is aborted at the local end. While a perfectly
230 Usual value used in 2.2 was 180 seconds, you may restore 230 valid "receive only" state for an un-orphaned connection, an
231 it, but remember that if your machine is even underloaded WEB server, 231 orphaned connection in FIN_WAIT_2 state could otherwise wait
232 you risk to overflow memory with kilotons of dead sockets, 232 forever for the remote to close its end of the connection.
233 FIN-WAIT-2 sockets are less dangerous than FIN-WAIT-1, 233 Cf. tcp_max_orphans
234 because they eat maximum 1.5K of memory, but they tend 234 Default: 60 seconds
235 to live longer. Cf. tcp_max_orphans.
236 235
237tcp_frto - INTEGER 236tcp_frto - INTEGER
238 Enables Forward RTO-Recovery (F-RTO) defined in RFC4138. 237 Enables Forward RTO-Recovery (F-RTO) defined in RFC4138.