Nginx内核优化

net.ipv4.tcp_max_tw_buckets = 6000
net.ipv4.ip_local_port_range = 10 65000
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1

net.ipv4.tcp_syncookies = 1

net.core.somaxconn = 262144
net.core.netdev_max_backlog = 262144
net.ipv4.tcp_max_orphans = 262144
net.ipv4_tcp_max_syn_backlog = 262144
net.ipv4_tcp_synack_retries = 1
net.ipv4_tcp_syn_retries = 1
net.ipv4_tcp_fin_timeout = 1
net.ipv4_tcp_keepalive_time = 30

本文出自 “dsafsa_技术博客” 博客,转载请与作者联系!

你可能感兴趣的:(java,apache,nginx,休闲,prel)