解决高并发下Redis连接失败redis.clients.jedis.exceptions.JedisConnectionException Attempting to read from a bro
引出问题当前Redis配置项测压环境出现的问题:redis.clients.jedis.exceptions.JedisConnectionException: Attempting to read from a broken connectionat redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.
·
引出问题
当前Redis配置项
测压环境
出现的问题:
redis.clients.jedis.exceptions.JedisConnectionException: Attempting to read from a broken connection at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:314) ~[jedis-3.1.0.jar:na] at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:236) ~[jedis-3.1.0.jar:na] at redis.clients.jedis.BinaryJedis.quit(BinaryJedis.java:257) ~[jedis-3.1.0.jar:na] at org.springframework.data.redis.connection.jedis.JedisConnection.close(JedisConnection.java:291) ~[spring-data-redis-2.2.3.RELEASE.jar:2.2.3.RELEASE]
解决方案
添加如下参数
重启
解决之后
参考于:
更多推荐
已为社区贡献2条内容
所有评论(0)