redis安装报错

redis安装报错

1、执行make test 报错:You need tcl 8.5 or newer in order to run the Redis test

images解决方案:

(1)、安装 tcl 根据以下命令安装。

wget https ://jaist.dl.sourceforge.net/project/tcl/Tcl/8.6.10/tcl8.6.10-src.tar.gz
	
tar zxvf tcl8.6.10-src.tar.gz -C /usr/local/
cd /usr/local/tcl8.6.10/unix/
./configure && make && make install

(2)、如果已经安装还是报该错误,请使用安装tcl 用户执行make test

2、执行make test 报错: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl the used_memory of replica is much larger than master. Master:43869232 Replica:69031856

pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl the used_memory of replica is much larger than master. Master:43869232 Replica:69031856

解决方案:

(1)、增加内存

(2)、关闭其他程序,多执行几遍make test

© 版权声明
THE END
喜欢就支持一下吧
点赞0赞赏
分享
评论 共2条
    • 麋鹿
    • 心灵博客0
      加个swap也行吧、?
      2年前回复
      • 麋鹿
        麋鹿作者0
        我是通过虚拟机安装的,只测试了增加内存!你可以增加swap试一下!