redis.clients.jedis.exceptions.JedisDataException: ERR max number of clients reached

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You're experiencing issue #124 in spring session: https://goo.gl/CgfzZ2. You can use the workaround described here: https://goo.gl/pnn7Cc or check the bug page mentioned for disscussion about it!

,
Expert tip

Add your password property to the block in your Tomcat context.xml with JediShardInfo.setPassword(redisPassword)

Solutions on the web

via Google Groups by Moxie, 5 months ago
ERR unknown command '*2 $11 UN'
via Google Groups by Petar Tahchiev, 1 year ago
ERR wrong number of arguments for 'hmset' command
via GitHub by chuanqi
, 1 year ago
ERR wrong number of arguments for 'spop' command
redis.clients.jedis.exceptions.JedisDataException: ERR max number of clients reached
at redis.clients.jedis.Protocol.processError(Protocol.java:117)
at redis.clients.jedis.Protocol.process(Protocol.java:151)
at redis.clients.jedis.Protocol.read(Protocol.java:205)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297)
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:242)
at redis.clients.jedis.JedisPubSub.process(JedisPubSub.java:108)
at redis.clients.jedis.JedisPubSub.proceed(JedisPubSub.java:102)
at redis.clients.jedis.Jedis.subscribe(Jedis.java:2591)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
20 times, 1 month ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
5 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.