Operating System - HP-UX
1834804 Members
2839 Online
110070 Solutions
New Discussion

How to change the default port behavior?

 
SOLVED
Go to solution
Binu Raj_1
Occasional Contributor

How to change the default port behavior?

We have an application running on HP server listening to a particular port (configured in /etc/services) and it talks to a windows program running on an intel machine. But when the windows applications gets terminated for some reason, the port goes into a FIN_WAIT state for a long time (sometimes more than 20 minutes). Could someone please tell me how to release this port immediately or how to reduce the FIN_WAIT state time period ( is there some kernel parameters which can be altered to achieve this). Thanks in advance
3 REPLIES 3
Andreas Voss
Honored Contributor
Solution

Re: How to change the default port behavior?

Hi,

if you have HP-UX 10.20 i put you a script at the attachment to modify the fin wait timeout.

Regards

Andrew
John Palmer
Honored Contributor

Re: How to change the default port behavior?

HP-UX 10.20 has a command 'nettune' for adjusting kernel timer values etc. On HP-UX 11.00, it's 'ndd'.

Regards,

John
Vincente Fernandes
Valued Contributor

Re: How to change the default port behavior?

I guess there is a patch to fix the FIN_WAIT status problem with the ports, not sure the patch number.