was服务器修改open files,Mac进入redis服务端错误信息:"Increased maximum number of open files to 10032 (it was origin...

[[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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值