sysctl / Linux tunning /etc/sysctl.conf

net.ipv4.ip_local_port_range = 1024 65536
net.core.rmem_max=16777216
net.core.wmem_max=16777216
net.ipv4.tcp_rmem=4096 87380 16777216
net.ipv4.tcp_wmem=4096 65536 16777216
net.ipv4.tcp_fin_timeout = 3
net.ipv4.tcp_tw_recycle = 1
net.core.netdev_max_backlog = 30000
net.ipv4.tcp_no_metrics_save=1
net.core.somaxconn = 262144
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_max_orphans = 262144
net.ipv4.tcp_max_syn_backlog = 262144
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_syn_retries = 2

Comments are closed.

Related URL:
  1. Amazon / AWS / EC2 linux version
  2. login remote ssh delay 等很久
  3. amazon aws ami LAMP / NGINX / PHP / memcache steps
  4. Protected: [收藏] Linux Embedded system step by steps – PDF / debian / linux booting steps
  5. Ubuntu Linux : install .deb packages
  6. [monster] monster.tw 記錄 / memo / ubuntu / 裝 圖形介面 / GUI / gnome desktop / ip address / setting
  7. debian / ubuntu 裝 memcached 跟 pecl memcache
  8. Protected: 兩個版本的 Linux ( CENTOS vs GENTOO ) 作 mysql + senna small compare
  9. debian / ubuntu , APT HOWTO / Guide / 指令速查表
  10. gentoo linux ifconfig