家里有一条电脑作为存储,安装了redis 服务,但是后面发现redis服务经常有问题,想卸载无法卸载sudo apt remove redis-server
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
redis-server
0 upgraded, 0 newly installed, 1 to remove and 202 not upgraded.
After this operation, 919 kB disk sp
问题一 :somaxconn 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.
这句话的翻译大概就是:对一个高负载的环境来说tcp设置128这个值,太小了。
这是我的理解,绝对的还需到官网理解。然后我们可以手动设置,或者设置永久值临时解决方案echo 512 > /proc/sys/net/core/somaxconn长期解决方案sudo vim /etc/sysctl.conf
#ne