初装Linux网络优化
Linux系统初装后TCP memory默认参数配置为128K,在过多进程负载网络通信的情况下就会出现异常。可以使用命令扩大使用内存:#sysctl -w net.core.rmem_max=16777216#sysctl -w net.core.wmem_max=16777216##修改为16M最好同时修改 /etc/sysctl.conf文件,保证系统正常运行:# These ensure that TIME_WAIT ports either get...