1832058 Members
3587 Online
110034 Solutions
New Discussion

FIN_WAIT_2

 
SOLVED
Go to solution
Gerhard Goettinger
Occasional Contributor

FIN_WAIT_2

Hi,

who is the FIN_WAIT_2 timeout set in HP-UX 11.00.
Is it possible to change the default?
We have connections with state FIN_WAIT_2 witch
are not closed.
4 REPLIES 4
Rainer von Bongartz
Honored Contributor

Re: FIN_WAIT_2

use ndd to change tcp_fin_wait_2_timeout

see man ndd

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
James R. Ferguson
Acclaimed Contributor
Solution

Re: FIN_WAIT_2

Hi:

Have a look at Technical Knowledge Base document #S3100001424A (attached here for your convenience). You can use 'ndd' to alter timing values on 11.x.

Regards!

...JRF...
Roger Baptiste
Honored Contributor

Re: FIN_WAIT_2

# ndd -get /dev/tcp tcp_fin_wait_2_timeout

Note: The default is zero (0), which indicates an infinite wait for the connection to be dropped. You can interpret any value other than zero as a millisecond value.

You can execute this command to change the value to 1 minute:

# ndd -set /dev/tcp tcp_fin_wait_2_timeout 60000


-raj
Take it easy.
Uday_S_Ankolekar
Honored Contributor

Re: FIN_WAIT_2

Hi,

You can use ndd command for this
To see the current setting
ndd -get /dev/tcp tcp_fin_wait_2_timeout

To set the new value to

ndd -set /dev/tcp tcp_fin_wait_2_timeout 600000 (Value in Mili second)

Goodluck,

-USA..
Good Luck..