VM:/data/bak # telnet 192.168.1.1 12403 Trying 192.168.1.1... Connected to 192.168.1.1. Escape character is ‘^]‘. config get maxmemory //查看 *2 $9 maxmemory $10 1000000000 //当前为1G config set maxmemory 2000000000 // 设置为2G CTRL+] 进行退出
本文出自 “linuxsed” 博客,谢绝转载!
线上修改redis内存分配大小,布布扣,bubuko.com
原文:http://51network.blog.51cto.com/864602/1539517