-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Jedis 3.10.0 Occasional stack overflow and Connection Leakage Error #4029
Comments
My JedisSocketFactory implements is Like this:
|
Try an updated Jedis version. |
@sazzad16 Unfortunately, in my project, I can't upgrade the Jedis version at will. Currently, I can only use Jedis 3.10.0. |
@guxiaoxie The last proper development in 3.x branch was done in the year 2021. Now we are almost at 2025. Due to current circumstances, it is difficult for us to invest time in 3.x branch. Thank you for you understanding. |
Expected behavior
When jedis-3.10.0.jar is used normally, a stack overflow error is reported occasionally.
like:
Write here what you're expecting ...
Actual behavior
When a stack overflow error occurs, a soekct connection leak occurs.
The socket object generated by the createSocket() method of JedisSocketFactory cannot be commissioned.
Steps to reproduce:
I wrote a mock test code to reproduce the error.
Stack overflow and Connection Leakage can be completely reproduced.
There is a high probability that this error occurs when the network is abnormal.
Redis / Jedis Configuration
Jedis version: 3.10.0
Redis version:6.2.0
Java version: java1.8
The text was updated successfully, but these errors were encountered: