vi /etc/sysctl.conf kern.ipc.nmbclusters=200000 kern.ipc.nmbjumbop=100000 net.inet.ip.portrange.randomized=0 net.inet.tcp.fast_finwait2_recycle=1 kern.random.sys.harvest.ethernet=0 net.inet.tcp.inflight.enable=1 net.inet.tcp.drop_synfin=1 kern.ma…
vi /etc/sysctl.conf kern.ipc.nmbclusters=200000 kern.ipc.nmbjumbop=100000 net.inet.ip.portrange.randomized=0 net.inet.tcp.fast_finwait2_recycle=1 kern.random.sys.harvest.ethernet=0 net.inet.tcp.inflight.enable=1 net.inet.tcp.drop_synfin=1 kern.ma…
执行以下命令优化 sysctl kern.ipc.somaxconn=4096 sysctl kern.ipc.nmbclusters=200000 sysctl kern.ipc.nmbjumbop=100000 sysctl net.inet.ip.portrange.randomized=0 sysctl net.inet.tcp.fast_finwait2_recycle=1 sysctl kern.random.sys.harvest.ethernet=0 参考自 http:/…