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. Resque
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ redis-cli | |
> config set stop-writes-on-bgsave-error no |
Thank you!
Thanks!
that's what the command does
According to Redis documentation, this is recommended only if you don't have RDB snapshots enabled or if you don't care about data persistence in the snapshots.
"By default Redis will stop accepting writes if RDB snapshots are enabled (at least one save point) and the latest background save failed. This will make the user aware (in a hard way) that data is not persisting on disk properly, otherwise,strong text chances are that no one will notice and some disaster will happen."
https://stackoverflow.com/questions/19581059/misconf-redis-is-configured-to-save-rdb-snapshots
in addition, I want to say that such errors can appear if the radis server is accessible from outside. You need to configure the radis server to listen only localhost. To do this, in the /etc/redis/redis.conf file, change bind parameter to 127.0.0.1
nano /etc/redis/redis.conf
bing 127.0.0.1
After this:
netstat -lnp | grep redis
should show that redis listning 127.0.0.1 insteed 0.0.0.0:*
thank you from 2022
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks it's work