Answer the question
In order to leave comments, you need to log in
Redis does not implement BGREWRITEAOF and BGSAVE. How to fix?
It costs Redis 2.4.17, appendonly is enabled.
Everything is added to the file, only BGREWRITEAOF and BGSAVE do not work, and the file begins to grow to obscene sizes.
The result of running the commands is below.
redis 10.1.1.9:6379> bgrewriteaof
(error) ERR
redis 10.1.1.9:6379> bgsave
(error) ERR
redis 10.1.1.9:6379> BGREWRITEAOF
(error) ERR
redis 10.1.1.9:6379> BGSAVE
(error) ERR
Answer the question
In order to leave comments, you need to log in
1. You need about the same amount of free disk space as the aof file currently occupies.
2. Free memory should be twice as much as redis occupies (or you need to enable the sysctl vm.overcommit_memory=1 parameter)
3. The radish should have logs - something like /var/log/redis + in the config parameter regulating level logging. There will be a detailed error in the logs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question