gpt4 book ai didi

redis - "Redis is configured to save RDB snapshots"错误,与权限/内存/磁盘空间无关

转载 作者:IT王子 更新时间:2023-10-29 06:03:56 26 4
gpt4 key购买 nike

我收到以下 Redis 错误:

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.

不过,这与权限无关,因为它只会在重启后的特定时间开始出现(最近一次出现是在重启后大约一天)。当它发生时,服务器有足够的内存和磁盘空间。有什么建议么?谢谢。

编辑:Redis 日志在正确保存时显示:

[2354] 13 Nov 09:56:16.071 * 10 changes in 300 seconds. Saving...

[2354] 13 Nov 09:56:16.072 * Background saving started by pid 2194

[2194] 13 Nov 09:56:16.118 * DB saved on disk

[2194] 13 Nov 09:56:16.118 * RDB: 0 MB of memory used by copy-on-write

[2354] 13 Nov 09:56:16.172 * Background saving terminated with success

错误发生时:

[2355] 13 Nov 09:15:12.069 * 1 changes in 900 seconds. Saving...

[2355] 13 Nov 09:15:12.070 * Background saving started by pid 27899

[27899] 13 Nov 09:15:12.074 # Error moving temp DB file on the final destination: Is a directory

[2355] 13 Nov 09:15:12.170 # Background saving error

最佳答案

我们遇到了同样的问题,结果证明有人“破解”了我们的服务器并将临时数据库路径更改为“.ssh”并将文件名更改为“authorized_keys”。我们在 redis CLI 中使用了以下命令来更改它们:

CONFIG SET dir /original/tmp/directory
CONFIG SET dbfilename temp.rdb

希望这对您有所帮助!

关于redis - "Redis is configured to save RDB snapshots"错误,与权限/内存/磁盘空间无关,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33698599/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com