首页 > 开发 > 综合 > 正文

【REDIS】REDIS warning处理

2024-07-21 02:51:29
字体:
来源:转载
供稿:网友
[24606] 23 Oct 13:15:06.386 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.[24606] 23 Oct 13:15:19.634 * DB loaded from disk: 13.249 seconds[24606] 23 Oct 13:15:19.635 * The server is now ready to accept connections on port 26379编辑/etc/sysctl.conf ,改vm.overcommit_memory=1,然后sysctl -p 使配置文件生效
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表