ERR max number of clients + cluster connections reached when using Jedis Cluster #2797
Replies: 2 comments
-
@bhargav-lime You would require to have some control to your Redis instances. Otherwise, it's almost impossible to solve the issue. If by "managed by Redis" you mean Redis Enterprise, contact them. However, you can use
If you can't do any of these, you can restart your servers. |
Beta Was this translation helpful? Give feedback.
-
@bhargav-lime Except control connection of redis instances, you can use config set maxclients 20000 to solve this issue in a short time. There is another possibility, you not call |
Beta Was this translation helpful? Give feedback.
-
I am using Redis Cluster and with Jedis Client library,
As part of setup, we are currently using Redis Cluster and instantiating the cluster using the following mechanism.
However, this code intermittently gives the following exception.
I have looked at the code reference here but it is not meaningful in my scenario since, I am not managing the connection manually and seems to be managed by Redis.
How can I resolve this error?
Beta Was this translation helpful? Give feedback.
All reactions