【已完成】redis老是自动关闭
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.1 redis7.0.11系统版本:CentOS7.8
问题描述:昨天到今天 redis 一直关闭;重启之后过一会就又挂了,无奈切换到其他redis正常,本机redis不敢用,不过不用了倒是不关闭了,很奇怪问题在哪里,日志也没有,求解答
相关截图(日志、错误):26092:C 09 Jan 2024 01:24:34.515 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB28337:M 09 Jan 2024 01:24:34.516 * Background saving terminated with success28337:M 09 Jan 2024 01:29:35.078 * 10 changes in 300 seconds. Saving...28337:M 09 Jan 2024 01:29:35.079 * Background saving started by pid 2758927589:C 09 Jan 2024 01:29:35.580 * DB saved on disk27589:C 09 Jan 2024 01:29:35.581 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB28337:M 09 Jan 2024 01:29:35.681 * Background saving terminated with success28337:signal-handler (1704734983) Received SIGINT scheduling shutdown...28337:M 09 Jan 2024 01:29:43.599 # User requested shutdown...28337:M 09 Jan 2024 01:29:43.599 * Saving the final RDB snapshot before exiting.28337:M 09 Jan 2024 01:29:44.080 * DB saved on disk28337:M 09 Jan 2024 01:29:44.080 * Removing the pid file.28337:M 09 Jan 2024 01:29:44.080 # Redis is now ready to exit, bye bye...18431:C 09 Jan 2024 08:21:47.598 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo18431:C 09 Jan 2024 08:21:47.598 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=18431, just started18431:C 09 Jan 2024 08:21:47.598 # Configuration loaded18431:M 09 Jan 2024 08:21:47.598 * monotonic clock: POSIX clock_gettime _._ _.-``__ ''-._ _.-`` `.`_.''-._ Redis 7.0.11 (00000000/0) 64 bit.-`` .-```.```\/ _.,_ ''-._ ( ' , .-`| `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 18431`-._ `-._`-./_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | https://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 18431:M 09 Jan 2024 08:21:47.599 # Server initialized18431:M 09 Jan 2024 08:21:47.599 * Loading RDB produced by version 7.0.1118431:M 09 Jan 2024 08:21:47.599 * RDB age 24724 seconds18431:M 09 Jan 2024 08:21:47.599 * RDB memory usage when created 98.42 Mb18431:M 09 Jan 2024 08:21:47.902 * Done loading RDB, keys loaded: 40833, keys expired: 0.18431:M 09 Jan 2024 08:21:47.902 * DB loaded from disk: 0.302 seconds18431:M 09 Jan 2024 08:21:47.902 * Ready to accept connections18431:signal-handler (1704759902) Received SIGINT scheduling shutdown...18431:M 09 Jan 2024 08:25:02.466 # User requested shutdown...18431:M 09 Jan 2024 08:25:02.466 * Saving the final RDB snapshot before exiting.18431:M 09 Jan 2024 08:25:02.946 * DB saved on disk18431:M 09 Jan 2024 08:25:02.946 * Removing the pid file.18431:M 09 Jan 2024 08:25:02.946 # Redis is now ready to exit, bye bye...25632:C 09 Jan 2024 08:28:14.210 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo25632:C 09 Jan 2024 08:28:14.210 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=25632, just started25632:C 09 Jan 2024 08:28:14.210 # Configuration loaded25632:M 09 Jan 2024 08:28:14.211 * monotonic clock: POSIX clock_gettime
您好,如果Redis当前未使用到持久化设置,请在Redis设置内关闭所有持久化设置。
如果持久化写入失败也是会导致Redis服务异常的
页:
[1]