(1) net.core.somaxconn = 128, should be greater than 32768
net.core.somaxconn是Linux中的一个内核(kernel)参数,表示socket监听(listen)的监听队列上限。而socket server可以一次性处理backlog中的所有请求,处理后的请求不再位于监听队列中。当Server处理请求较慢时,导致监听队列被填满后,新来的请求就会被拒绝。
FIX:
vi /etc/sysctl.conf
新增:net.core.somaxconn= 40000
查看是否生效:sysctl -p
(2) numactl not usable, bash: numactl: command not found
numactl工具可用于查看当前服务器的NUMA节点配置、状态,可通过该工具将进程绑定到指定CPU core,由指定CPU core来运行对应进程。
FIX :
yum -y install numactl.x86_64
(3) service firewalld is running but should be stopped
停掉防火墙即可
FIX:
systemctl stop firewalld.service
检查防火墙状态: systemctl status firewalld.servic