
{"id":1799,"date":"2010-06-30T21:53:46","date_gmt":"2010-06-30T16:23:46","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=1799"},"modified":"2010-06-30T21:53:46","modified_gmt":"2010-06-30T16:23:46","slug":"when-rto-retransmissions-remain-unacknowledged","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/06\/30\/when-rto-retransmissions-remain-unacknowledged\/","title":{"rendered":"when RTO retransmissions remain unacknowledged&#8230;"},"content":{"rendered":"<pre>\n$cat \/proc\/sys\/net\/ipv4\/tcp_orphan_retries\n0\n$\n\n<\/pre>\n<pre>\n\ntcp_orphan_retries - INTEGER\nThis value influences the timeout of a locally closed TCP connection,\n        when RTO retransmissions remain unacknowledged. See\n tcp_retries2 for more details.\n\n\nThe default value is 7\n\nIf your machine is a loaded WEB server, you should think about\n lowering this value, such sockets may consume significant resources.\n Cf. tcp_max_orphans.\n\n\nsource :\nLinux Kernel Documentation . 2.6.32\n<\/pre>\n<pre>\nnet\/ipv4\/tcp_timer.c - 39 identical\n    99: static int tcp_orphan_retries(struct sock *sk, int alive)\n   100: {\n   101:         int retries = sysctl_tcp_orphan_retries; \/* May be zero. *\/\n   157:                         retry_until = tcp_orphan_retries(sk, alive);\n   158:\nandroid.git.kernel.org\/kernel\/msm.git - GPL - C - More from msm.git \u00bb\n\n\nshaper.queues\n   176:   echo \"Set number of orphant retries to 5\"\n   177:   echo 5 &gt; \/proc\/sys\/net\/ipv4\/tcp_orphan_retries\n   178:\nwww.chronox.de\/tc+filter\/shaper-0.2.tar.bz2 - Unknown - Shell - More from shaper-0.2.tar.bz2 \u00bb\n\nusr\/share\/man\/man7\/tcp.7\n   282: .TP\n   283: .B tcp_orphan_retries\n   284: The maximum number of attempts made to probe the other\nwww2.cddc.vt.edu\/linux\/distributions\/7linux\/7v6\/7base\/7v6a11.tar.bz2 - Unknown - Troff -\n\n<\/pre>\n<pre>\n\n3.3.15. tcp_orphan_retries\nThe tcp_orphan_retries variable tells the TCP\/IP stack how many times\n to retry to kill connections on the other side before killing it on our\n own side. If your machine runs as a highly loaded http server it may\n be worth thinking about lowering this value. http sockets will consume\n large amounts of resources if not checked.\n\n\nThis variable takes an integer value. The default value for this variable\n is 7, which would approximately correspond to 50 seconds through 16\n minutes depending on the Retransmission Timeout (RTO). For a\n complete explanation of the RTO, read the \"3.7. Data Communication\"\n section in RFC 793 - Transmission Control Protocol.\n\n\nsource :\nIpsysctl tutorial 1.0.4\nOskar Andreasson\nblueflux@koffein.net\nCopyright \u00a9 2002 by Oskar Andreasson\n\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$cat \/proc\/sys\/net\/ipv4\/tcp_orphan_retries 0 $ tcp_orphan_retries &#8211; INTEGER This value influences the timeout of a locally closed TCP connection, when RTO retransmissions remain unacknowledged. See tcp_retries2 for more details. The default value is 7 If your machine is a loaded WEB server, you should think about lowering this value, such sockets may consume significant resources. Cf. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/06\/30\/when-rto-retransmissions-remain-unacknowledged\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;when RTO retransmissions remain unacknowledged&#8230;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":-1,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[1035,1216,1298,1378,1398],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1799"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=1799"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1799\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}