Connection leaking in 2.9.1 GenericObjectPool
See original GitHub issueFollow up of https://github.com/xetorthio/jedis/issues/1929 since the author closed the issue. I would really appreciate a backport like mentioned in the linked issue. Also, fyi, jedis 2.9.1 is the “official” version provided by Spring Boot 1.5.19.RELEASE as the dependencyManagement
so this probably affects a lot of users. The 1.5.x branch is not in active development anymore but they are still supporting it through end of summer 2019 IIRC.
Expected behavior
No connection leak
Actual behavior
There’s a connection leak with heavy usage
Steps to reproduce:
With a heavy usage of jedis 2.9.1, the connections are slowly getting leaked and the pool starts rejecting connections after a while.
Redis / Jedis Configuration
Nothing special
Jedis version:
2.9.1
Redis version:
N/A
Java version:
java 8
Thanks!!
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top Results From Across the Web
Connection leaking in 2.9.1 GenericObjectPool - redis/jedis
With a heavy usage of jedis 2.9.1, the connections are slowly getting leaked and the pool starts rejecting connections after a while. Redis...
Read more >GenericObjectPool (Apache Commons Pool 2.11.1 API)
A configurable ObjectPool implementation. When coupled with the appropriate PooledObjectFactory , GenericObjectPool provides robust pooling functionality ...
Read more >Detecting and Resolving Database Connection Leaks with ...
Take a look at this tutorial that demonstrates how you can find and remove connection leaks between your application and database in Java ......
Read more >Recently Active 'apache-commons-dbcp' Questions - Page 6 - Stack ...
iam using sakai 2.9.1 after a few operations the server stops responding and ... the idle connections are not being re-used or I...
Read more >Spring Boot: Detecting Connection Leak - YouTube
In this video we will see how to detect connection leak in a Spring Boot application using HikariCP, the default database connection pool ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jebeaudet I give you a “+1” for this 👍 Exactly what happened to us. But nice writeup here and in the other issues.
@gkorland I understand that this issue was backported but I don’t see any
2.9.2
release on Maven central. @jebeaudet (thank you!) gave you enough information about our upgrade policy and I’ve declined your request to update as we would do it automatically.We did, but no candidate release was available so we just released Spring Boot
2.1.3.RELEASE
with this bug still present. Can you please let us know if a2.9.2
release is scheduled? Thank you.