Closed parag90-zz closed 1 year ago
New connection graph when the issue occurs
Current connections graphs during the issue. Our app is supposed to maintain 800 connections at total 40 containers.
We are using a similar stack (jedis 3.0.1, java 11.0.3, spring boot and aws redis 5.0.3) We also found a similar issue. In our case, we didnt yet pinpoint it to redis/jedis, but it's a top suspect.
Same symptoms: network in spikes, the clients cannot get resources from the jedis pool, the number of new connections on redis go as high as 1.3k (during normal operation it's in 1 digit area)
What we also observed is that the jvm crashes afterwards. Can you check if this is also happening on your side ?
Sometimes I am getting these exceptions on my application connecting to Redis.
I am running a service with 40 containers (spring-boot) Env: AWS Redis: AWS managed Jedis version: 3.1.0 connect.timeout: 700 write.timeout: 1000 maxIdle: 20 minIdle: 20 maxActive: 20 Node type:cache.r4.large Engine Version: 4.0.10 Java version 1.8 Traffic on the service: 5-7000 Transactions per second. Issue frequency: Sometimes in 10 days sometimes once a week, No consistency observed. No changes in the incoming traffic pattern at that time.
Observations: New connections at Redis side spikes to 25-30k and the whole system becomes unstable. Huge spike in network packets in during the issue.
Need help in debugging the issue, This causes a live site the service availability going down.
@Configuration @ConfigurationProperties(prefix = "redis") public class CacheConfiguration {
}