问题
压测完成后,查看pinpoint链路有小部分请求出现错误
报错信息
Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool
环境
redis集群配置6个节点,grafana资源监控,指标都正常
应用连接redis配置:
redis.testOnBorrow=true
redis.testOnReturn=true
redis.testWhileIdle=true
redis.maxIdle=5
redis.maxWait=5
redis.maxTotal=10
redis.minIdle=2
redis.timeout=3000
redis.timeBetweenEvictionRunsMillis=160000
spring.redis.cluster.max-redirects=3