Redis CPU Usage

Redis loads dataset and then the cpu usage spikes up.
It reaches maximum utilisation and affects the server performance.
When I try to stop the redis server, it gets hung.
“Saving the final RDB snapshot before exiting.” is the message shown in redis.log.

Can anybody please tell me why the cpu usage reaches maximum? I have another server with a larger rdb file and it does not cause this problem.

Also so many redis processes are also getting created.

Hi Vishal,

We’ll need more info to help here. How much data? What kind of server? What environment? Does the CPU ever return to normal after the data is loaded?