How to release the invalid tcp connection under radosgw?
connections: [root@et-uos-warm02 deeproute]# netstat -anltp | grep rados | grep 10.x.x.x:7480 | grep ESTAB | grep 10.12 | wc -l 6650 The prints: tcp 0 0 10.x.x.x:7480 10.x.x.12:40210 ESTABLISHED 76749/radosgw tcp 0 0 10.x.x.x:7480 10.x.x.12:33218 ESTABLISHED 76749/radosgw tcp 0 0 10.x.x.x:7480 10.x.x.12:33546 ESTABLISHED 76749/radosgw tcp 0 0 10.x.x.x:7480 10.x.x.12:50024 ESTABLISHED 76749/radosgw .... but client ip 10.x.x.12 is unreachable(because the node was shutdown), the status of the tcp connections is always "ESTABLISHED", how to fix it?
Hello Louis, On Tue, Jun 13, 2023 at 11:51 AM Louis Koo <zhucan.k8s@gmail.com> wrote:
connections: [root@et-uos-warm02 deeproute]# netstat -anltp | grep rados | grep 10.x.x.x:7480 | grep ESTAB | grep 10.12 | wc -l 6650
The prints: tcp 0 0 10.x.x.x:7480 10.x.x.12:40210 ESTABLISHED 76749/radosgw tcp 0 0 10.x.x.x:7480 10.x.x.12:33218 ESTABLISHED 76749/radosgw tcp 0 0 10.x.x.x:7480 10.x.x.12:33546 ESTABLISHED 76749/radosgw tcp 0 0 10.x.x.x:7480 10.x.x.12:50024 ESTABLISHED 76749/radosgw ....
but client ip 10.x.x.12 is unreachable(because the node was shutdown), the status of the tcp connections is always "ESTABLISHED", how to fix it?
Please use this guide: https://www.cyberciti.biz/tips/cutting-the-tcpip-network-connection-with-cut... -- Alexander E. Patrakov
Thanks for your response, Only can cut off the connections manually? and the os is centos, the same with ubuntu?
[root@et-uos-warm03 deeproute]# cutter 10.x.x.12 Finished in 0.000049 seconds (total: 0.000000 seconds) 0 test(s), 0 assertion(s), 0 failure(s), 0 error(s), 0 pending(s), 0 omission(s), 0 notification(s) 0% passed it's invalid.
participants (2)
-
Alexander E. Patrakov
-
Louis Koo