无法将命令写入连接Redisson

问题描述 投票:0回答:1

我们使用的是 Redisson 3.14.1 版本,每秒收到 30k 条消息。 这样做时,我们得到了跟踪错误

原因:org.redisson.client.WriteRedisConnectionException:无法将命令写入连接!节点源:NodeSource [slot=15540,addr=null,redisClient=null,redirect=null,entry=null],连接:RedisConnection [entry=[commandsBatch=0,entry=[freeSubscribeConnectionsAmount=0,freeSubscribeConnectionsCounter=value:4027]:队列:0,freeConnectionsAmount = 24,freeConnectionsCounter =值:64:队列:0,freezeReason = null,client = [addr = redis://10.32.2.2:6379],nodeType = MASTER,firstFail = 0],commandsBatchSemaphore =值:1:队列:0,sendWorkers = 2,connectionsAmount = 2],redisClient = [addr = redis://10.32.2.2:6379]],命令:(EVAL),参数:[本地值= redis.call(' hget', KEYS[1], ARGV[2]);如果 value == false 则返回 nil;结尾;本地t,...,5,会话{klM},redisson__timeout__set:会话{klM},redisson__idle__set:会话{klM},redisson__map_cache__last_access__set:会话{klM},会话{klM}:redisson_options,1660919795305,PooledUnsafeDirectByteBuf(ridx:0, widx: 38, cap: 256)] 3次重试后 在 org.redisson.command.RedisExecutor.checkWriteFuture(哦:279) ...省略了30个常见框架 引起原因:io.netty.channel.StacklessClosedChannelException:null 在 io.netty.channel.AbstractChannel$AbstractUnsafe.write(对象,ChannelPromise)(来源未知) ” thread_name: “redisson-netty-3-14” 跟踪 ID:“27c3b4124840b2d5” } 谁能帮助我知道我们做错了什么?

redis redis-cluster redisson
1个回答
0
投票

检查JVM的CPU使用率。增加

nettyThreads
设置。确保异步/反应/Rx 回调中没有使用阻塞调用。

© www.soinside.com 2019 - 2024. All rights reserved.