My Redis server was stopping randomly. When I try to ping I got the following error:
"
(error) 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."
I understood that the server stops because it failed to save. So I tried to save from react-cli using save command. Then I got the error ""
Error: connection reset by peer"".
I know if I set "stop-writes-on-bgsave-error" to NO, then the server won't stop. But I want to know why the save process failed.