
{"id":18579,"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-2","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/06\/30\/when-rto-retransmissions-remain-unacknowledged-2\/","title":{"rendered":"About  RTO retransmission and tcp_orphan_retries"},"content":{"rendered":"<p><u>About  RTO retransmission and tcp_orphan_retries <\/u><\/p>\n<pre>\ntcp_orphan_retries - INTEGER\nThis value influences the timeout of a locally closed TCP connection,when RTO retransmissions remain\nunacknowledged.\n\nsource :\nLinux Kernel Documentation . 2.6.32\n<\/pre>\n<p><u>TYPICAL SHELL ON PROC FILESYSTEM<\/u><br \/>\n[bash]<br \/>\n$cat \/proc\/sys\/net\/ipv4\/tcp_orphan_retries<br \/>\n0<br \/>\n$<br \/>\n[\/bash]<\/p>\n<p><u>TYPICAL SOURCE CODE RELATED<\/u><br \/>\n[c]<br \/>\nnet\/ipv4\/tcp_timer.c &#8211; 39 identical<br \/>\n    99: static int tcp_orphan_retries(struct sock *sk, int alive)<br \/>\n   100: {<br \/>\n   101:         int retries = sysctl_tcp_orphan_retries; \/* May be zero. *\/<br \/>\n   157:                         retry_until = tcp_orphan_retries(sk, alive);<br \/>\n   158:<br \/>\nandroid.git.kernel.org\/kernel\/msm.git &#8211; GPL &#8211; C &#8211; More from msm.git \u00bb<br \/>\n[\/c]<\/p>\n<p>[bash]<br \/>\nshaper.queues<br \/>\n   176:   echo &quot;Set number of orphant retries to 5&quot;<br \/>\n   177:   echo 5 &amp;gt; \/proc\/sys\/net\/ipv4\/tcp_orphan_retries<br \/>\n   178:<br \/>\nwww.chronox.de\/tc+filter\/shaper-0.2.tar.bz2 &#8211; Unknown &#8211; Shell &#8211; More from shaper-0.2.tar.bz2 \u00bb<br \/>\n[\/bash]<br \/>\n[text]<br \/>\nusr\/share\/man\/man7\/tcp.7<br \/>\n   282: .TP<br \/>\n   283: .B tcp_orphan_retries<br \/>\n   284: The maximum number of attempts made to probe the other<br \/>\nwww2.cddc.vt.edu\/linux\/distributions\/7linux\/7v6\/7base\/7v6a11.tar.bz2 &#8211; Unknown &#8211; Troff &#8211;<br \/>\n[\/text]<br \/>\n<u>TYPICAL EXPLANATION RELATED<\/u><\/p>\n<pre>\nThe  tcp_orphan_retries variable  tells the  TCP\/IP stack how many times to retry  to kill connections on\nthe other side before killing  it on our own side.  If your machine runs  as a  highly loaded  http\nserver it  may be  worth thinking  about lowering  this value.  http  sockets will consume large amounts of resources if not checked\n\nThis variable  takes an integer value.The default value for this variable is 7, which  would approximately correspond to 50 seconds  through 16 minutes depending on the Retransmission Timeout (RTO).\n\n\nsource :\nIpsysctl tutorial 1.0.4\nOskar Andreasson\nblueflux@koffein.net\nCopyright \u00a9 2002 by Oskar Andreasson\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>About RTO retransmission and tcp_orphan_retries tcp_orphan_retries &#8211; INTEGER This value influences the timeout of a locally closed TCP connection,when RTO retransmissions remain unacknowledged. source : Linux Kernel Documentation . 2.6.32 TYPICAL SHELL ON PROC FILESYSTEM [bash] $cat \/proc\/sys\/net\/ipv4\/tcp_orphan_retries 0 $ [\/bash] TYPICAL SOURCE CODE RELATED [c] net\/ipv4\/tcp_timer.c &#8211; 39 identical 99: static int tcp_orphan_retries(struct sock &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/06\/30\/when-rto-retransmissions-remain-unacknowledged-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;About  RTO retransmission and tcp_orphan_retries&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1864,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[988,1230,1548],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/18579"}],"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=18579"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/18579\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media\/1864"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=18579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=18579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=18579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}