-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
线上环境,偶尔Could not get a resource from the pool #66
Comments
补充:线上环境,运行一段时间后 报 超时, 观察报错节点, 有大量 swap 操作,后关闭了 swap, 报错没了。 请问哪位大神帮解答一下? codis 客户端连接代码:
codis 操作类:
|
我也遇到这个情况, |
@etansens 你找到问题原因了吗? 加机器是否能解决这个问题? 目前我们是 2K QPS, 就报这个错了 |
@Force-King 测试了一下,应该跟多线程有关。单线程无限循环跑是没问题的。 |
@Force-King 昨晚跟了下代码,发现是jedis的bug;并且新版jedis已经修复。指定最新版jedis依赖就能解决了哈。 |
附上测试代码 @test |
@etansens 我目前用的jedis 版本是 2.9.0 ,是改为最新版 3.1.0 就没问题了是吗? |
jedis-2.9.3.jar 就已经解决这个问题了。 |
错误如下:
The text was updated successfully, but these errors were encountered: