码迷,mamicode.com
首页 > 系统相关 > 详细

nginx conf by linux kernel

时间:2014-07-12 18:04:24      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:nginx   linux kernel   

#nginx conf by linux kernel
net.ipv4.tcp_max_tw_buckets = 6000
net.ipv4.ip_local_port_range = 1024 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
 
执行: /sbin/sysctl -p  生效

nginx conf by linux kernel,布布扣,bubuko.com

nginx conf by linux kernel

标签:nginx   linux kernel   

原文地址:http://blog.csdn.net/luozhonghua2014/article/details/37713545

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!