zhangyz-hd commented on issue #8010:
URL: https://github.com/apache/dubbo/issues/8010#issuecomment-883165375


   如果采用netty3实现,以上多个connection也会发生。
   
但是netty3服务端心跳检查CloseTimerTask会发现旧连接无心跳报文,而主动关闭连接。因为客户端ReferenceCountExchangeClient计数器归0变成LazyConnectExchangeClient时,关闭了客户端的heartBeatTimerTask。
   ```
   [20/07/21 15:20:04:479 CST] dubbo-server-idleCheck-thread-1  WARN 
header.CloseTimerTask:  [DUBBO] Close channel NettyChannel [channel=[id: 
0x14bf023f, /192.168.3.198:59602 => /192.168.3.198:20881]], because idleCheck 
timeout: 180000ms, dubbo version: , current host: 192.168.3.198
   [20/07/21 15:20:04:480 CST] dubbo-server-idleCheck-thread-1  INFO 
netty.NettyChannel:  [DUBBO] Close netty channel [id: 0x14bf023f, 
/192.168.3.198:59602 => /192.168.3.198:20881], dubbo version: , current host: 
192.168.3.198
   [20/07/21 15:20:04:481 CST] dubbo-server-idleCheck-thread-1  INFO 
netty.NettyHandler:  [DUBBO] The connection between /192.168.3.198:59602 and 
/192.168.3.198:20881 is disconnected, dubbo version: , current host: 
192.168.3.198
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to