调整linux 系统 tcp 网络参数 更好的发送给大量请求

https://stackoverflow.com/questions/410616/increasing-the-maximum-number-of-tcp-ip-connections-in-linux
vim /etc/sysctl.conf

主要是这四个参数
sysctl net.ipv4.tcp_tw_recycle=1
sysctl net.ipv4.tcp_tw_reuse=1
sysctl net.ipv4.ip_local_port_range=”15000 61000″
sysctl net.ipv4.tcp_fin_timeout=30