Comments (8)
“消耗完”具体是指什么操作?是比如你设置连接数最大是200,你只要操作200次就一定会挂?还是说跑了一段时间就挂了,并没有统计总共操作了多少次?
谢谢
from jodis.
定时任务,一段时间内取出200个redis实例,第201次就报错了
from jodis.
单线程顺序执行吗?
from jodis.
嗯
from jodis.
确认一下你依赖的jedis的版本?jodis引入的jedis应该是2.6+的,这个版本以后的jedis才可以通过直接close来归还连接,之前的版本不行。
谢谢
from jodis.
jedis版本是2.7.2的
from jodis.
jodis是0.2.1
from jodis.
那这比较奇怪了,这是2.7.x的jedis的close代码,看起来应该是归还了啊。
@Override
public void close() {
if (dataSource != null) {
if (client.isBroken()) {
this.dataSource.returnBrokenResource(this);
} else {
this.dataSource.returnResource(this);
}
} else {
client.close();
}
}
from jodis.
Related Issues (20)
- 一个隐藏的异常处理风险 HOT 1
- jodis原子性问题 HOT 9
- redis.clients.jedis.exceptions.JedisException: Proxy list empty
- jodis整合spring session的问题 HOT 10
- codis jodis Extranet client Connection refused HOT 1
- 希望jodis引用guava版本升级到最新21.0 HOT 5
- 可以支持连接多个zookeeper吗? HOT 6
- 0.5.0版本是否不支持jdk1.7 HOT 1
- 0.3.0的jodis对应的后端是codis3集群,zk挂掉jodis是否能正常访问 HOT 1
- 是否支持IPV6 HOT 2
- Thread-safety problem in RoundRobinJedisPool HOT 9
- jedis连接池不断重连导致proxy session数不断增长 HOT 3
- No content to map due to end-of-input HOT 3
- jodis如何保证proxy下线时获取的client可用?(ZK通知有延迟、感知proxy下线需要时间) HOT 4
- Jodis连接codis报错:Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.UnknownHostException: iZwz977ogd6jecq7rowvtsZ
- No content to map due to end-of-input HOT 2
- 启动codis客户端初始化 异常 HOT 2
- 使用jodis压测比使用benchmark进行压测是qps低很多的问题
- 线上环境,偶尔Could not get a resource from the pool HOT 8
- jodis连接zookeeper报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jodis.