On Solaris systems, you can modify the FIN_WAIT_2 timeout interval in /dev/tcp
.
The default value is 675000ms.
To get the value, issue the following command:
ndd -get /dev/tcp tcp_fin_wait_2_flush_interval
To set the value, issue the following command:
ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 30000
Note
Root permissions are typically required to set this value.