- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Too many FIN_WAIT_2 connections
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 01:56 PM
06-27-2002 01:56 PM
Too many FIN_WAIT_2 connections
I administer an HP9000 L3000 computer that runs HP-UX 11.0 and ARS and gets too may TCP connections.
I would like to reduce the time a connection stays
in the FIN_WAIT_2 state
What parameter would I have too change ?
How to do it and what value would be best ??
Thank you & Regards
Daniels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 02:07 PM
06-27-2002 02:07 PM
Re: Too many FIN_WAIT_2 connections
The recommendation is to add this to '/etc/rc.config.d/ndd.conf' so that it is issued upon each reboot. You can also issue the command immediately.
# ndd -set /dev/tcp tcp_fin_wait_2_timeout 660000
The value of 660000 constitutes 11-minutes. HP doesn't recommand a value less than 10-minutes. The units are milliseconds with zero (0) indicating "wait forever".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 02:32 PM
06-27-2002 02:32 PM
Re: Too many FIN_WAIT_2 connections
Use ndd to clear these connection problems. NOTE: There is no way to determine whether a program pair (the socket connects them) is still properly waiting, which means that killing this connection may result in data loss. A thorough knowledge of the applications is required to make an informed decision. You may need 20mins before an auto-kill or you may need an hour.
If you are up to date on patches, you can see the current value of the FIN_WAIT-2 timer with:
ndd -get /dev/tcp tcp_fin_wait_2_timeout
But if you get an error then you'll need the latest ndd patch. To set the timer for 60 minutes before killing the FIN_WAIT_2 state, use:
ndd -get /dev/tcp tcp_fin_wait_2_timeout 3600000
This is a transient setting and will not remain after a reboot. To automate this task, edit the file /etc/rc.config.d/nddconf
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2002 02:34 PM
06-27-2002 02:34 PM
Re: Too many FIN_WAIT_2 connections
Thank you for your speedy answer
I will try and let you know
Regards
Daniels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 09:09 AM
06-28-2002 09:09 AM
Re: Too many FIN_WAIT_2 connections
Yes my case is the one where there ara many PC's connected to this appl ARS and when they crash they leave this connections FIN_WAIT_2 forever
I checked the command you gave
me ndd -get and the cuurent value was 0 which means "forever" so I changed it as you told me to 360000 and finally I have a reasonably number of FIN_WAIT_2 connections
Thank you for your help
Regards
Daniels