我在阿里云安装redis的时候,遇到了内存不足的问题!
!!! WARNING The following tests failed:
*** [err]: Client output buffer hard limit is enforced in tests/unit/obuf-limits.tcl
Expected condition '$omem >= 90000 && $omem < 200000' to be true (82016 >= 90000 && 82016 < 200000)
Cleanup: may take some time... OK
Makefile:262: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/usr/local/redis/redis-5.0.4/src'
Makefile:6: recipe for target 'test' failed
make: *** [test] Error 2
开始我也不知道怎么办,然后我看报错的位置,进入了那个tcl中,然后obuf-limits.tcl,我修改了一下这个文件夹中的那个范围参数!
最后还是报[err]: 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:43867944 Replica:85808848
还是内存不够!害难受
然后我今日tests/unit/pendingquerybuf.tcl,修改测试文件的参数就可以啦!