My Oracle Support Banner

How To Forcefully Close FIN_WAIT2 Stale Connection (Doc ID 2396675.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 6.9 to Oracle Linux 7.4 [Release OL6U9 to OL7U4]
Linux x86
Linux x86-64

Goal

Due to known issue with UEK4 and FIN_WAIT2 which is explained in km note:

Linux NFS Mount on HP NAS Server Suffers from Intermittent Hangs and Timeouts (Doc ID 2390756.1)

Client system is now affected by many stale FIN_WAIT2 connections:

# netstat -peantu |grep 1.1.1.1
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -
tcp 0 0 1.1.1.1:0000 2.2.2.2:1111 FIN_WAIT2 0 3563844596 -

How above connections can be closed forcefully ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.