Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最近几天老是0点后一段时间 redis都报 MISCONF Redis is configured to save RDB snapshots #490

Open
apgk opened this issue Nov 6, 2023 · 4 comments

Comments

@apgk
Copy link

apgk commented Nov 6, 2023

  1. 本机磁盘容量够
  2. 本机16G内存大概剩余800M-1G
  3. 目前做法 根据百度的 把 那个 stop-writes-on-bgsave-error 从yes 设置为no
  4. 2023-11-04 设置过 通过 config set 然后重启,昨天和今天凌晨又发生了以下错误。
    完整的异常信息
    System.Exception: 【127.0.0.1:6379/13】状态不可用,等待后台检查程序恢复方可使用。MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
    Command: PING
    ---> CSRedis.RedisException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
    Command: PING
    ---> CSRedis.RedisException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
    at CSRedis.Internal.IO.RedisReader.ReadType()
    at CSRedis.Internal.IO.RedisReader.ExpectType(RedisMessage expectedType)
    at CSRedis.Internal.IO.RedisReader.ReadStatus(Boolean checkType)
    at CSRedis.Internal.Commands.RedisStatus.Parse(RedisReader reader)
    at CSRedis.Internal.RedisConnector.Call[T](RedisCommand1 command) --- End of inner exception stack trace --- at CSRedis.Internal.RedisConnector.Call[T](RedisCommand1 command)
    at CSRedis.RedisClient.Write[T](RedisCommand1 command) at CSRedis.RedisClient.Ping() at CSRedis.RedisClientPool.Return(Object1 obj, Exception exception, Boolean isRecreate)
    --- End of inner exception stack trace ---
    at CSRedis.Internal.ObjectPool.ObjectPool1.getFree(Boolean checkAvailable) at CSRedis.Internal.ObjectPool.ObjectPool1.Get(Nullable1 timeout) at CSRedis.CSRedisClient.GetAndExecute[T](RedisClientPool pool, Func2 handler, Int32 jump, Int32 errtimes)
    at CSRedis.CSRedisClient.ExecuteScalar[T](String key, Func3 hander) at CSRedis.CSRedisClient.Get[T](String key) at RedisHelper1.Get[T](String key)
@2881099
Copy link
Owner

2881099 commented Nov 6, 2023

redis-for-windows 么?

@apgk
Copy link
Author

apgk commented Nov 6, 2023

redis-for-windows 么?

是的 x64 3.2版本
已经持续好久没出现这个问题了,上回出现还是 硬盘全满了。

@chunjieyaya
Copy link

redis-for-windows 么?

是的 x64 3.2版本 已经持续好久没出现这个问题了,上回出现还是 硬盘全满了。

没考虑升级redis版本吗?

@apgk
Copy link
Author

apgk commented Nov 14, 2023

redis-for-windows 么?

是的 x64 3.2版本 已经持续好久没出现这个问题了,上回出现还是 硬盘全满了。

没考虑升级redis版本吗?

稳住了升级啥。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants