-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Infinity retry on the exception of max number of clients reached #2563
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
Comments
@zhuang42 Thanks for reporting this! Can you please check if the error occurred in newer versions of redis-py? we are only supports 4.x versions |
@dvora-h Thanks! This doesn't occur in 4.x versions |
I just came across this issue with version 4.6.0. |
Mine is a very similar issue, but seems to be for Sentinel only. Created a new issue here #2866 |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: What redis-py and what redis version is the issue happening on?
redis-py: 3.5.3
redis: 6.0.10
Platform: What platform / version? (For example Python 3.5.1 on Windows 7 / Ubuntu 15.10 / Azure)
Python 3.8.7
OS: Ubuntu 20.04 x86/64
Description: Description of your issue, stack traces from errors and code that reproduces the issue
The redis-py keeps retrying in the
redis.exceptions.ConnectionError: max number of clients reached
, the worse thing is it keeps retrying in its exception handler which causes an infinity loop. The following logs are repeated hundreds of times.Then this infinity loop terminates with RecursionError
Is there a limit on the number of retries, or it's apparently a bug in exception handling?
Thanks in advance
The text was updated successfully, but these errors were encountered: