- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: netstat doubt
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
12-27-2005 11:45 AM
12-27-2005 11:45 AM
the netstat -a command returns in the last field "fin_wait_2", whats the meanning of this?. how can i fix to convert to "established" . Thanks for your time and help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 12:09 PM
12-27-2005 12:09 PM
SolutionThe 'fin_wait_2' state is a normal, final state transition for a TCP connection before it is closed. The time for which a connection stays in this state is governed by 'tcp_keepalive_detached_interval' which has a default value of 120,000 milliseconds.
Have a look at Technical Knowledge Base document #KBRC00015727 for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 01:20 PM
12-27-2005 01:20 PM
Re: netstat doubt
The state FIN_WAIT_2 represents the wait for a final connection termination request from the remote TCP. If an application opened a socket, but never closed it properly, it can leave the socket in this state. FIN_WAIT_2 may also be caused by an abnormal termination of an application using sockets.
Before 11.00, the only way to get rid of this socket or the entry in the netstat -a output is to reboot the node. In 11.00( with a patch ) and in 11i ( in-built), a separate timer was introduced for it whose timer value is set using ndd "tcp_fin_wait_2_timeout" parameter.
The default for tcp_fin_wait_2_timeout is 0, which allows the connection to live forever, as long as the far side continues to answer keepalives. Thus the timeout value for such connection would be the tcp keepalive timeout as said above.
You need to know the application behaviour and need to monitor such connections. If they remain there inspite the application who opened them is exited and the keepalive value set as upper limit for their disconnection looks undesirable , then the
"tcp_fin_wait_2_timeout" value could be set to an appropriate value.
IMPORTANT :
****Extreme caution should be taken for changing its value from default 0 as it may cause loss of data******
Refer following docs for details
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080078355
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081572963
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081572963
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063620093
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 08:15 PM
12-27-2005 08:15 PM
Re: netstat doubt
after the client is closing with close() but not sending the acknowledgement to server and server is waiting for that ack signal.
Refer this for tuning:
http://docs.hp.com/en/B2355-90748/pr04.html
http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-07/0111.html
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 03:35 AM
12-28-2005 03:35 AM