当前位置:网站首页>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
边栏推荐
猜你喜欢

Machine Learning Summary (2)
初级软件测试工程师笔试试题,你知道答案吗?

租房小程序
![[Recommender System]: Overview of Collaborative Filtering and Content-Based Filtering](/img/bc/fd2b8282269f460f4be2da78b84c22.png)
[Recommender System]: Overview of Collaborative Filtering and Content-Based Filtering

记录一些遇见的bug——Lombok和Mapstruct的冲突导致,A component required a bean of type ‘com.XXX.controller.converter.

Distributed Lock-Redission - Cache Consistency Solution

【LeetCode】Summary of linked list problems

8、Mip-NeRF

1106 2019 Sequence (15 points)

Pico neo3 Unity Packaging Settings
随机推荐
Conditional statements in TF; where()
Find the latest staff salary and the last staff salary changes
Do you know the basic process and use case design method of interface testing?
3.1-Classification-probabilistic generative model
1091 N-Defensive Number (15 points)
Pico neo3 Unity Packaging Settings
Redis source code: how to view the Redis source code, the order of viewing the Redis source code, the sequence of the source code from the external data structure of Redis to the internal data structu
零基础SQL教程: 基础查询 05
【415. 字符串相加】
The easiest trick to support quick renaming of various files
1071 Small Gamble (15 points)
Evolution and New Choice of Streaming Structured Data Computing Language
leetcode:69. x 的平方根
机器学习(一)数据的预处理
囍楽cloud task source code
Kaldi语音识别工具编译问题记录(踩坑记录)
1076 Wifi Password (15 points)
动态代理学习
Swagger简单使用
Test cases are hard?Just have a hand