Redis WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
内核参数默认128,对于负载很大的服务是不够的。改为2048或者更大
echo 2048 > /proc/sys/net/core/somaxconn 系统重启后失效
vi /etc/sysctl.conf
net.core.somaxconn = 2048
保存,然后
sysctl -p