1. 程式人生 > >Linux核心引數調優

Linux核心引數調優

net.ipv4.tcp_keepalive_time = 120
   net.ipv4.tcp_keepalive_probes = 2
   net.ipv4.tcp_keepalive_intvl = 75
   net.ipv4.tcp_syncookies = 1
   net.ipv4.tcp_tw_reuse = 1
   net.ipv4.tcp_tw_recycle = 1
   net.ipv4.tcp_fin_timeout = 30
   net.ipv4.ip_local_port_range = 1024 65000