Redis Too many open files
来源:互联网 发布:如何打造网络爆款微信 编辑:程序博客网 时间:2024/05/16 19:25
问题
在测试并发的时候,当达到了一定值的时候,日志会显示错误:
ConnectionError: Error 24 connecting CACHEREDIS-HOST:6379. Too many open files.
解决办法
查看redis的maxclients.
CONFIG GET maxclients //查看同一时间最大客户端连接数
Redis的连接还受到本身系统的限制,用命令ulimit查看系统资源~
ulimit -a //显示当前所有的 limit 信息ulimit -n 65535 //限制最大可以使用65535个文件描述符
赞助
如果您认为以上内容对您有所帮助和启发,不妨小额赞助我一下,让我有动力写出更好文章。
0 0
- Redis Too many open files
- Redis too many open files error
- too many open files
- too many open files
- Too many open files
- too many open files
- Too many open files
- too many files open
- too many open files
- too many open files
- Too many open files
- Open Too Many files
- Too many open files
- Too many open files
- too many open files
- Too many open files
- too many open files
- too many files open
- Scrapy爬虫入门教程六 Items(项目)
- 2017.03.06回顾
- 如何修改js的编码格式?
- 使用Oracle Data Integrator Studio创建资料档案库
- hash table easy
- Redis Too many open files
- 蓝牙之数据传输问题
- Robot Motion_POJ
- vs15+opencv3.0.0+win7+32位
- ODI 创建Java EE Agent
- hadoop中的排序新思路-附基于spark之上的性能测试
- web前端简历怎么写?
- ODI Studio拓扑结构的创建与配置(MySQL)
- 机器学习实战——KNN代码