sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.

Home Page:https://www.sofastack.tech/sofa-rpc/docs/Home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConnectionCloseException: connection closed! the address is

crazyStar00 opened this issue · comments

Your question

我们的服务部署了30+的服务器,其中有两个节点,客户端报这个问题,其他节点没有问题
程序架构:使用sofa-rpc的bolt协议
请问下是什么原因造成的呢?或者需要调整netty的参数吗?

Environment

  • SOFARPC version: sofa-rpc-5.8.0,sofa-bolt-1.5.9
  • JVM version (e.g. java -version): jdk1.8
  • OS version (e.g. uname -a): 操作系统为国产的凝思磐石操作系统,可以认为是debian 4

image

There are more scenarios where the link is broken, such as when a packet of an unknown protocol is received on a long link, or when there is a restart on the server side. If the environment is normal, this problem is unlikely to occur, so do some troubleshooting based on your Linux environment.

问题解决了,是操作系统问题,当服务端接收到请求后,服务端就假死了,导致连接异常。

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.