I had an 13G aof file. when redis crashed cause by memory too low, I use redis-check-aof check the aof file is valid. but I restart redis, it could not finish loading and the cpu 100%.

I use ltrace saw random(), __isnan() be called manytimes, and strace saw some madvise be called. no any more redis log, no io, and redis-cli could not connected.

I use redis 2.4.18 and higher version for test, all of them could not finish loading...

Comment From: yoav-steinberg

If redis-cli can't connect you can using strace to try to figure out what commands are being executed from the AOF. This is also a very old version of redis, you might want to try a newer one. Please let me know if this is still relevant.