Last active
September 5, 2020 15:44
Revisions
-
carlos8f revised this gist
Dec 4, 2013 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,5 +7,5 @@ You can check whether this is a problem with netstat: # sysctl net.inet.tcp.msl net.inet.tcp.msl: 15000 # sudo sysctl -w net.inet.tcp.msl=100 net.inet.tcp.msl: 15000 -> 100 -
Carlos Rodriguez created this gist
Aug 26, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Mac OS X has only 16K ports available that won't be released until socket TIME_WAIT is passed. The default timeout for TIME_WAIT is 15 seconds. Consider reducing in case of available port bottleneck. You can check whether this is a problem with netstat: # sysctl net.inet.tcp.msl net.inet.tcp.msl: 15000 # sudo sysctl -w net.inet.tcp.msl=1000 net.inet.tcp.msl: 15000 -> 1000