StackExchange.Redis 连接 redis 报错 "it is currently n

2020-12-03 11:27发布

问题:

在应用日志中发现 StackExchange.Redis 在连接 redis 服务时报下面的错误,请问如何解决?

StackExchange.Redis.RedisServerException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2826

回答1:

查看 redis 日志,看看是是否是写权限问题或者磁盘满了
Please check the Redis logs for details about the RDB error.



回答2:

https://blog.csdn.net/wem603947175/article/details/83055687



标签: redis