redis突然掉电导致aof文件损坏修复一例
28 Apr 10:16:51.234 # Server started, Redis version 2.8.828 Apr 10:16:51.234 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
28 Apr 10:17:27.915 # Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix
28 Apr 10:19:40.866 * Increased maximum number of open files to 10032 (it was originally set to 1024).
页:
[1]