redis server response timeout(3000ms) occurred after 3 retry attempts异常分析
读取redis数据报超时错误:
Redis server response timeout (3000 ms) occured after 3 retry attempts
2024-07-18 17:07:57.124 ERROR [e8f07b0a671c08311dff589827897232] [http-nio-9528-exec-6] c.z.i.u.m.c.e.BaspUserExceptionHandler.exceptionHandler:83 - RuntimeException:java.util.concurrent.ExecutionException: org.springframework.dao.QueryTimeoutException: Redis server response timeout (3000 ms) occured after 3 retry attempts, is non-idempotent command: false Check connection with Redis node: for TCP packet drops. Try to increase nettyThreads and/or timeout settings. Command: (LRANGE), params: [[118, 111, 108, 116, 101, 58, 111, 114, 103, 58, ...], 0, -1], channel: []; nested exception is org.redisson.client.RedisResponseTimeoutException: Redis server response timeout (3000 ms) occured after 3 retry attempts, is non-idempotent command: false Check connection with Redis node: for TCP packet drops. Try to increase nettyThreads and/or timeout settings. Command:
问题排查
- 根据报错后的提示,将客户端超时时间改大一些。
- 通过异常分析,发现出现异常的地方为set操作,一分析,是value值过大,导致超时。
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。