[[email protected] redis]# src/redis-server redis.conf
32575:C 11 Oct 17:17:24.088 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
32575:C 11 Oct 17:17:24.088 # Redis version=4.0.1, bits=64, commit=00000000, modified=0, pid=32575, just started
32575:C 11 Oct 17:17:24.088 # Configuration loaded
32575:M 11 Oct 17:17:24.089 * Increased maximum number of open files to 10032 (it was originally set to 1024).
32575:M 11 Oct 17:17:24.090 # Creating Server TCP listening socket *:6379: bind: Address already in use
问题一
# 查看系统限制
>>>$ ulimit -a
# 设置“open files”数量
>>>$ ulimit -n 10032
问题二
[[email protected] redis]# netstat -lnp|grep 6379
tcp 15 0 0.0.0.0:6379 0.0.0.0:* LISTEN 8690/./xmrig-notls
tcp6 0 0 :::6379 :::* LISTEN 8690/./xmrig-notls
[[email protected] redis]# kill -9 15
-bash: kill: (15) - 没有那个进程
[[email protected] redis]# kill -9 8690
xmrig-notls 很像挖矿病毒
原文:https://www.cnblogs.com/zplogo/p/11658034.html