Skip to content

Instantly share code, notes, and snippets.

@mieitza
Created February 6, 2013 17:27
Show Gist options
  • Save mieitza/f1940ef2654b756d96d0 to your computer and use it in GitHub Desktop.
Save mieitza/f1940ef2654b756d96d0 to your computer and use it in GitHub Desktop.
net.core.rmem_max=16777216
net.ipv4.ip_local_port_range='1024 65000'
net.ipv4.tcp_tw_reuse='1'
net.ipv4.tcp_fin_timeout='15'
net.core.netdev_max_backlog='50000'
net.core.somaxconn='4096'
net.core.wmem_max='16777216'
net.ipv4.tcp_max_syn_backlog='30000'
net.ipv4.tcp_max_tw_buckets='2000000'
net.ipv4.tcp_no_metrics_save='1'
net.ipv4.tcp_rmem='4096 87380 16777216'
net.ipv4.tcp_syn_retries='2'
net.ipv4.tcp_synack_retries='2'
net.ipv4.tcp_wmem='4096 65536 16777216'
net.ipv4.tcp_sack='0'
net.ipv4.tcp_timestamp='0'
vm.min_free_kbytes='65536'
@mieitza
Copy link
Author

mieitza commented Feb 6, 2013

sysctl network settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment