net.ipv4.tcp_tw_reuse = 1 对time_wait状态的tcp连接进行重用
net.ipv4.tcp_fin_timeout=30 服务器主动关闭时发送数据包的timeout,可解决fin_wait和last_ack
net.ipv4.tcp_keepalive_time=30 keepalive连接的消息频度,秒
net.ipv4.tcp_retries2=2 控制重发tcp数据的次数,默认15
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_fin_timeout=30 服务器主动关闭时发送数据包的timeout,可解决fin_wait和last_ack
net.ipv4.tcp_keepalive_time=30 keepalive连接的消息频度,秒
net.ipv4.tcp_retries2=2 控制重发tcp数据的次数,默认15
net.ipv4.tcp_syncookies = 1