#Netty
共 6 篇文章
解决 Seata 报错 NettyClientChannel inactive reconnect failed 通道失联修复
排查 Seata Client 与 TC 协调器长连接中断,日志报 channel inactive or reconnect failed: 0.0.0.0:8091,导致事务无法注册,分析 Netty 心跳配置与注册中心地址映射。
解决 Spring WebFlux 报错 OutOfDirectMemoryError Netty 堆外内存溢出修复
排查 Spring Boot WebFlux 结合 Netty 作为底层反应式服务器时,高并发流量下报 io.netty.util.internal.OutOfDirectMemoryError: failed to allocate byte(s) of direct memory,分析 ByteBuf 引用计数泄露与内存池配置。
Redis 客户端 Lettuce 堆外内存泄露导致容器内存超限 OOMKilled 排障
排查在使用 Spring Boot 配合 Lettuce 客户端进行海量 Redis 通信时,因 Netty 堆外内存(Direct Memory)未能及时释放导致 Pod 频繁被 Kubernetes 杀死的排障。
Spring Cloud Gateway 响应式网关 Reactor Netty 连接泄漏排查
针对基于 WebFlux 与 Reactor Netty 构建的 API 网关在长连接路由下内存暴涨、堆外内存泄漏及连接数只增不减排查方案。
解决 Netty 报错 StacklessClosedChannelException 连接重置断开修复
排查 Netty 高性能网络通信抛出 io.netty.channel.StacklessClosedChannelException,优化 TCP 连接生命周期与空闲检测 IdleStateHandler。
解决 Java 报错 OutOfMemoryError Direct buffer memory 堆外内存泄露修复
排查 Netty 或 ByteBuffer.allocateDirect 抛出 java.lang.OutOfMemoryError: Direct buffer memory,排查 ByteBuf 引用计数与堆外内存参数。


