<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Thank you for the article. on FromDual GmbH</title><link>https://www.fromdual.com/blog/huge-amount-of-time-wait-connections/comment-844/</link><description>Recent content in Thank you for the article. on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Mon, 23 Sep 2013 19:40:33 +0200</lastBuildDate><atom:link href="https://www.fromdual.com/blog/huge-amount-of-time-wait-connections/comment-844/index.xml" rel="self" type="application/rss+xml"/><item><title>Thank you for the article.</title><link>https://www.fromdual.com/blog/huge-amount-of-time-wait-connections/comment-844/</link><pubDate>Mon, 23 Sep 2013 19:40:33 +0200</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/huge-amount-of-time-wait-connections/comment-844/</guid><description>&lt;p&gt;Thank you for the article. Sorry to nitpick.
My colleague pointed out if the local port range is 32768 – 61000, that there are 28233 available ports, not 28232.&lt;/p&gt;
&lt;p&gt;It may also be worth mentioning the difference between FIN TIMEOUT (/proc/sys/net/ipv4/tcp_fin_timeout) and the TIMEWAIT length which is hard-coded to 60s in the linux kernel.&lt;/p&gt;
&lt;p&gt;This question contains some good pointers and the answer contains a little program in C that you can compile and use to see how long the timeout is:
&lt;a href="http://unix.stackexchange.com/questions/17218/how-long-is-a-tcp-local-socket-address-that-has-been-bound-unavailable-after-clo"&gt;http://unix.stackexchange.com/questions/17218/how-long-is-a-tcp-local-socket-address-that-has-been-bound-unavailable-after-clo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A similar article:
&lt;a href="http://www.krenel.org/tcp-time_wait-and-ephemeral-ports-bad-friends/"&gt;http://www.krenel.org/tcp-time_wait-and-ephemeral-ports-bad-friends/&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>