![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
CPU的嘲讽
这个作者很懒,什么都没留下…
展开
-
redis集群报错:Unable to init enough connections amount! Only xxx of xxx were initialized.
在搭建redis分布式锁的项目的时候,启动项目后redis报:Unable to init enough connections amount! Only 10 of 24 were initialized.错误。解决方案:将redis连接超时时间改的大一点(我直接改为了10000ms),自己按照自己情况设置。...原创 2019-10-15 19:55:21 · 22130 阅读 · 3 评论 -
redis报错:Could not get a resource from the pool
在新安装redis的时候需要设置密码,如不设置的话也会会报:Could not get a resource from the pool。设置方法:在安装文件中找到redis.conf文件(window是redis.windows.conf)将#requirepass foobared 注释取掉 foobared 改为你的密码。例如:requirepass 123456重启redis...原创 2019-09-26 10:37:07 · 248 阅读 · 0 评论 -
四台CentOS 搭建redis-cluster集群完整教程
配置环境OS: centos 7.2.1511redis : 最新版 v5.0.5一、安装redis下载并解压redis,下载地址运行:$ wget http://download.redis.io/releases/redis-5.0.5.tar.gz$ tar xzf redis-5.0.5.tar.gz安装gcc依赖$ yum install gcc重命名...原创 2019-09-30 14:40:51 · 589 阅读 · 0 评论