当前位置:网站首页>Linux,Redis中IOException: 远程主机强迫关闭了一个现有的连接。解决方法
Linux,Redis中IOException: 远程主机强迫关闭了一个现有的连接。解决方法
2022-08-11 07:57:00 【秋9】
【现象】
[ERROR] Exception occured. Channel: [id: 0x60dbc204, L:/192.168.0.107:64658 - R:104.115.158.104/104.115.158.104:6379] - 2022-08-09 22:25:28,352 [redisson-netty-2-7] org.redisson.client.handler.CommandsQueue(exceptionCaught,153)
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[na:1.8.0_181]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[na:1.8.0_181]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[na:1.8.0_181]
at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[na:1.8.0_181]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[na:1.8.0_181]
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:247) ~[netty-buffer-4.1.38.Final.jar:4.1.38.Final]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1140) ~[netty-buffer-4.1.38.Final.jar:4.1.38.Final]
【解决方法】
tcp-keepalive 300
修改为:
tcp-keepalive 0
边栏推荐
- 项目1-PM2.5预测
- Decrement operation in tf; tf.assign_sub()
- 动态代理学习
- 机器学习(一)数据的预处理
- Use tf.argmax in Tensorflow to return the index of the maximum value of the tensor along the specified dimension
- 1003 我要通过 (20 分)
- 【LeetCode】Summary of linked list problems
- 关于Excel实现分组求和最全文档
- Dynamic Agent Learning
- Two startup methods and differences of Service
猜你喜欢
Find the latest staff salary and the last staff salary changes
Hibernate 的 Session 缓存相关操作
1002 写出这个数 (20 分)
少年成就黑客,需要这些技能
1106 2019 Sequence (15 points)
Decrement operation in tf; tf.assign_sub()
The most complete documentation on Excel's implementation of grouped summation
囍楽cloud task source code
Four operations in TF
2.1 - Gradient Descent
随机推荐
Find the latest staff salary and the last staff salary changes
C语言-结构体
通过记账,了解当月收支情况
go-grpc TSL authentication solution transport: authentication handshake failed: x509 certificate relies on ... ...
数据库无法启动,报无法分配内存,怎么处理
1051 Multiplication of Complex Numbers (15 points)
如何仅更改 QGroupBox 标题的字体?
经典论文-MobileNet V1论文及实践
Two startup methods and differences of Service
1096 大美数 (15 分)
项目1-PM2.5预测
麒麟V10系统打包Qt免安装包程序
JRS303-Data Verification
囍楽cloud task source code
Keep track of your monthly income and expenses through bookkeeping
链式编程注解
进阶-指针
优炫数据库支持多列分区吗?
无服务器+域名也能搭建个人博客?真的,而且很快
【云原生】云原生在网络安全领域的应用