请输入您要查询的百科知识:

 

词条 Maximum segment lifetime
释义

  1. References

{{Howto|date=February 2016}}Maximum segment lifetime is the time a TCP segment can exist in the internetwork system. It is arbitrarily defined to be {{nowrap|2 minutes}} long.[1]

The Maximum Segment Lifetime value is used to determine the TIME_WAIT interval (2*MSL)

The command that can be used on many Unix systems{{Nonspecific|message=Which UNIX systems?|date=July 2014}} to determine the TIME_WAIT interval is:

60000 (60 seconds) is a common value.

On FreeBSD systems this description and value can be checked by the command sysctl:[2]

    sysctl -d net.inet.tcp.msl    sysctl net.inet.tcp.msl

which gets the result:

    net.inet.tcp.msl: Maximum segment lifetime    net.inet.tcp.msl: 30000

On some Linux systems, this value can be checked by either of the commands below:

    sysctl net.ipv4.tcp_fin_timeout    cat /proc/sys/net/ipv4/tcp_fin_timeout

References

1. ^{{cite web | title=RFC 793 | work=Transmission Control Protocol | url=http://www.rfc-editor.org/rfc/rfc793.txt | accessdate=December 5, 2006 }}
2. ^{{cite web | title=Tuning FreeBSD to serve 100-200 thousands of connections | url=http://rerepi.wordpress.com/2008/04/19/tuning-freebsd-sysoev-rit/ }}

1 : Transmission Control Protocol

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 20:18:02