Problems encountered: aof file becomes larger and larger, causing the server to crash card.
1, on a server pull Bitnami / redis mirror
2, there is not enough aof rights issues, so add directly to the aof file permissions, causing aof becomes larger and larger, eventually server downtime.
Try the solution:
1, the control aof the file size (modified redis.conf file)
auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb
Reach 64mb began to shrink continuous cycle
2, rewriting aof file (the input redis-cli)
BGREWRITEAOF
3, thought it was a version of the problem immediately see a version (replacing the version)
Old Version: 4.0.9 New Version: 4.0.12
4, the problem is not resolved the problem back randomly want privileges, to hang in the docker-compose add file permissions (are trying, there is a large probability to solve)
chown -R 1001:root redis