nginx conf by 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  生效

版权声明:本文博客原创文章,博客,未经同意,不得转载。

上一篇:Sqoop2入门之导入关系型数据库数据到HDFS上


下一篇:实现FTP断点续传