Skip to content

Instantly share code, notes, and snippets.

@sunnygleason
Created April 26, 2012 22:50
Show Gist options
  • Select an option

  • Save sunnygleason/2503872 to your computer and use it in GitHub Desktop.

Select an option

Save sunnygleason/2503872 to your computer and use it in GitHub Desktop.
fix local tcp connection exhaustion on linux
net.ipv4.ip_local_port_range = 15000 61000
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment