Redis solves excessive memory

Redis has reached the maxmemory threshold after a large wave of writes, but after deleting these big keys, the memory usage has not decreased.

 

First check if dump.rdb is too large, if it is too large, bgsave, after persistence

Restart the redis-server. 

It is best to configure the redis sentinel to restart a redis-server at a certain time every day

Guess you like

Origin www.cnblogs.com/wlphp/p/12732511.html