Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fixing redis "ISCONF Redis is configured to save RDB snapshots"
check redis log /var/logs/redis/redis-server.log for write errors
can be permissions on the redis dbump dir or memory conditions or not enough place on disk
check place on disks:
$ df -h
fix memory condition:
echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf # only one time! doesn't have to be every time.. if already exists won't help
sysctl vm.overcommit_memory=1
redis config settings to check (defaults to:) especially for permissions problem
dbfilename dump.rdb
dir /var/lib/redis
stop redis from stopping on this error (dangerous!) in /etc/redis/redis.conf
stop-writes-on-bgsave-error yes
or in redis-cli only for the running session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment