当前位置:网站首页>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
边栏推荐
- 3.1-Classification-probabilistic generative model
- 【43. 字符串相乘】
- 兼容并蓄广纳百川,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang复合容器类型的声明和使用EP04
- jenkins简单使用
- JUC并发编程
- 欧拉函数(用欧拉筛法求欧拉函数)
- 查询跟踪快递单号物流,智能分析物流中转有延误的单号
- Use tf.argmax in Tensorflow to return the index of the maximum value of the tensor along the specified dimension
- 1061 判断题 (15 分)
- 记录一些遇见的bug——Lombok和Mapstruct的冲突导致,A component required a bean of type ‘com.XXX.controller.converter.
猜你喜欢
【LeetCode】Summary of linked list problems
Four operations in TF
Pico neo3 Unity Packaging Settings
零基础SQL教程: 基础查询 05
关于Excel实现分组求和最全文档
My creative anniversary丨Thank you for being with you for these 365 days, not forgetting the original intention, and each is wonderful
CSDN21天学习挑战赛——封装(06)
Project 1 - PM2.5 Forecast
tf.cast(), reduce_min(), reduce_max()
项目2-年收入判断
随机推荐
通过记账,了解当月收支情况
Pico neo3 Unity Packaging Settings
8、Mip-NeRF
【43. 字符串相乘】
Item 2 - Annual Income Judgment
1081 Check Password (15 points)
借问变量何处存,牧童笑称用指针,Go lang1.18入门精炼教程,由白丁入鸿儒,go lang类型指针(Pointer)的使用EP05
Break pad source code compilation--refer to the summary of the big blogger
基于微信小程序的租房小程序
抽象类和接口
JRS303-数据校验
查询跟踪快递单号物流,智能分析物流中转有延误的单号
Find the latest staff salary and the last staff salary changes
项目2-年收入判断
magical_spider远程采集方案
2021-08-11 For loop combined with multi-threaded asynchronous query and collect results
1002 Write the number (20 points)
无服务器+域名也能搭建个人博客?真的,而且很快
机器学习(三)多项式回归
动态代理学习