Redis: OOM command not allowed when used memory > ‘maxmemory

Redis: OOM command not allowed when used memory > ‘maxmemory’

解决方式:

$ vim /etc/redis/6903.conf maxmemory 3gb

maxmemory-policy allkeys-lru

maxmemory-samples 5
posted @ 2016-07-02 15:14  yuan.net  阅读(965)  评论(0编辑  收藏  举报