1826631 Members
3294 Online
109695 Solutions
New Discussion

Re: TCP_finwait2

 
HP UX 11i
New Member

TCP_finwait2

Bonjour
Nous avons une paramètre system qui dure plus de 15 minute pour que le system libère les socle (pour Aix la paramètre est Fin wait ou close wait ),c’est une paramètre du noyau du system HpUx. Nous voulons réduire cette valeur par défaut pour avoir 2 ou 4 seconds au maximum.
3 REPLIES 3
Colin Topliss
Esteemed Contributor

Re: TCP_finwait2

Bonjour.

If I've read your French correctly.....

ndd -set /dev/tcp tcp_fin_wait_2_timeout 600000

where 600000 is time in milliseconds.

Look in /etc/rc.config.d/nddconf

Regards

Colin.
Senthil Kumar .A_1
Honored Contributor

Re: TCP_finwait2

Hi , there seems to be a duplicate query.

procedure should be..

ndd -set /dev/tcp tcp_time_wait_interval 60000

To make the change permanent:
Modify /etc/rc.config.d/ndd.conf by adding the following line:
TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_time_wait_interval
NDD_VALUE[0]=60000

make sure .. the 0 in [0] is repalced by the last number that follows the existing sequence.

60000 millisec = 1 minute.

regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
rick jones
Honored Contributor

Re: TCP_finwait2

And unless applications are calling shutdown() and then waiting for the remote FIN before calling close, and perhaps even then if they properly have a timeout on that wait, on HP-UX 11, the tcp_keepalive_detached_interval should kick-in and that keepalive mechanism "should" cull the miscreant remotes that are using an abortive close.

now, if there is a broken firewall (somehow it seems redundant to say broken firewall) there may still be a need for the FIN_WAIT_2 timeout but generally it shouldn't
there is no rest for the wicked yet the virtuous have no pillows