首页 > 数据库 >Redis无法在Arm平台启动的问题

Redis无法在Arm平台启动的问题

时间:2022-10-29 21:26:31浏览次数:82  
标签:配置文件 redis 平台 Redis BUG ignore ARM64 Arm

这是继前文在Arm平台部署遇到的另一个问题, 拉取Arm平台下的各服务镜像后,启动时却发现redis无法启动,进行了诊断后发现错误提示如下:

redis | 1:M 28 Oct 2022 04:02:33.981 # WARNING Your kernel has a bug that could lead to data corruption during background save. Please upgrade to the latest stable kernel.
redis | 1:M 28 Oct 2022 04:02:33.981 # Redis will now exit to prevent data corruption. Note that it is possible to suppress this warning by setting the following config: ignore-warnings ARM64-COW-BUG

其中错误信息主要是最后一句话,大意就是目前在Arm平台不够完善,可以通过配置ignore-warnings ARM64-COW-BUG继续运行。

我是在docker运行中的,看了下之前的docker配置文件,并没有映射配置文件,而是通过命令行参数引入了传入了部分配置,试了一下,可以通过命令行参数--ignore-warnings ARM64-COW-BUG映入这个配置,这样就不用引入配置文件了,配置更加简单集中。docker-compose文件示例如下:

标签:配置文件,redis,平台,Redis,BUG,ignore,ARM64,Arm
From: https://www.cnblogs.com/TianFang/p/16839884.html

相关文章