1832751 Members
2811 Online
110045 Solutions
New Discussion

Details about FIN_WAIT_2

 
Amith_2
Frequent Advisor

Details about FIN_WAIT_2


Could some one answer my questions below.

1) IS FIN_WAIT_2 configurable in HP-11i and HP-11
systems? If so how?
2) What is the default time for a port to get freed off after it gets into FIN_WAIT_2 scenario.
3) Can the time be reduced than the default time out?
1 REPLY 1
Matthew_50
Valued Contributor

Re: Details about FIN_WAIT_2

First of all, you have to install system patch PHNE_19375, there is an ndd parameter called 'tcp_fin_wait_2_timeout'.

This parameter sets the fin_wait_2 timer on
11.x to stop idle fin_wait_2 connections. It
will not survive a reboot, so modification
of the /etc/rc.config.d/nddconf is necessary. with following.

TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_fin_wait_2_timeout
NDD_VALUE[0]=1200000

The default for tcp_fin_wait_2_timeout is 0,
which allows the connection to live forever,
as long as the far side continues to answer
keepalives.

To enable the tcp_fin_wait_2 timer to timeout do the following:

1. Get the current value (0 is turned off):
# ndd -get /dev/tcp tcp_fin_wait_2_timeout
0
2. Set the value to 20 min's:
# ndd -set /dev/tcp tcp_fin_wait_2_timeout 1200000

3. Check the setting:
# ndd -get /dev/tcp tcp_fin_wait_2_timeout
1200000

Note: (1000 ms in 1 second) * (60 seconds) *
(20 minutes)= 1200000 ms. 20 minutes is just
an example but probably a good selection.
Any setting less than this may cause data
loss.

you can also check DocID: KBRC00001353 for more information.