org.redisson.client.RedisTimeoutException: Subscribe timeout: (7500ms)
See original GitHub issueExpected behavior
java.util.concurrent.CompletionException: org.redisson.client.RedisTimeoutException: Subscribe timeout: (7500ms) at org.redisson.misc.RedissonPromise.await(RedissonPromise.java:197) ~[redisson-3.10.0.jar:?] at org.redisson.misc.RedissonPromise.await(RedissonPromise.java:206) ~[redisson-3.10.0.jar:?] at org.redisson.command.CommandAsyncService.syncSubscription(CommandAsyncService.java:159) ~[redisson-3.10.0.jar:?] at org.redisson.RedissonLock.lockInterruptibly(RedissonLock.java:149) ~[redisson-3.10.0.jar:?] at org.redisson.RedissonLock.lockInterruptibly(RedissonLock.java:136) ~[redisson-3.10.0.jar:?] at org.redisson.RedissonLock.lock(RedissonLock.java:118) ~[redisson-3.10.0.jar:?] Caused by: org.redisson.client.RedisTimeoutException: Subscribe timeout: (7500ms) at org.redisson.command.CommandAsyncService.syncSubscription(CommandAsyncService.java:160) ~[redisson-3.10.0.jar:?] ... 23 more
Redis version
3.0.7
Redisson version
3.10.0
Redisson configuration
Our redisson configuration: Sentinel cluster with 4 nodes masterConnectionPoolMinSize=16 masterConnectionPoolMaxSize=64 slaveConnectionPoolMinSize=16 slaveConnectionPoolMaxSize=64 timeout=3000 keepAlive=false idleConnectionTimeout=10000 connectTimeout=10000 pingConnectionInterval=0 pingTimeout=1000 with password auth
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Can these two parameters be set very large? How do they relate to the count of locks and threads, and what kind of relationship do they have? Let’s say I start 20 threads and each thread requests 5 read/write locks and lock
Thanks, Does it makes sense to double subscriptionsPerConnection from 5 to 10 in order to not increase amount of connections? BTW does it makes sense 250 is too low?