Hi,
I'm currently having some issues with Redis spiking in CPU and have been unable to determine what is causing it.
Host OS: Centos 5.5 on an OpenVZ VM
Memory: 12GB soft limit, 16GB hard limit
Redis version: 2.2.4
Memory: 2.45GB, 10.71GB RSS
Keys in db0: ~4M with ~150k expired
Total "expired_keys" from redis-cli info: 49631528
Persistence is disabled
Any time the fork rate on the system spikes above about 100, redis hits 100% CPU and starts to become inaccessible. Sometimes I can't even connect to the redis port while this is happening. I've done a lot of debugging, but have yet to be able to figure out what is going on. I'm not sure what's causing the forking on the system as any redis writes to disk are disabled. This box is a backend for Resque and I've tried disabling all workers with only a limited amount (50 ops/sec) of rpush'es happening, and CPU still thrashes.
There are no keys commands, or large unions or anything like that. Any help in trying to figure out quite what is going on is appreciated.
Thanks,
Damon