- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get rid of FIN_WAIT_1
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
Discussions
Discussions
Discussions
Forums
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
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
тАО02-24-2004 12:22 AM
тАО02-24-2004 12:22 AM
How to get rid of FIN_WAIT_1
02/24/04 11:24:46 nsrexecd: Cannot bind socket to service port in configured port range on system x.
02/24/04 11:24:46 nsrexecd: unable to allocate transport; aborting
netstat -an | grep 7937 (port of nsrexecd) shows:
x.x.x.x.7937 y.y.y.y.600 32768 0 9660 0 FIN_WAIT_1
It seems that system y.y.y.y did not close its session with an ACK.
Question is, how can I force the FIN_WAIT_1 to go into TIME_WAIT without rebooting the system(it a production system)?
Thanks in advance,
Peter Geluk
Ps. When the netstat -an was done NO nsr proc's were running!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 12:31 AM
тАО02-24-2004 12:31 AM
Re: How to get rid of FIN_WAIT_1
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=233507
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 12:47 AM
тАО02-24-2004 12:47 AM
Re: How to get rid of FIN_WAIT_1
It looks scary to me to. According to the points in the other post it's not used.
Did somebody use it to remove a connection using:
# ndd -set /dev/tcp tcp_discon 0x
Or other suggestions are welkom.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 12:50 AM
тАО02-24-2004 12:50 AM
Re: How to get rid of FIN_WAIT_1
ndd -get /dev/tcp tcp_status |grep -e state -e TCP_FIN_WAIT
After that you can disconnect it like this:
ndd -set /dev/tcp tcp_discon 0x????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 01:49 AM
тАО02-24-2004 01:49 AM
Re: How to get rid of FIN_WAIT_1
We will schedule a reboot for this system or someone can tell me another solution?
Thanks for the anwsers.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 01:21 PM
тАО02-24-2004 01:21 PM
Re: How to get rid of FIN_WAIT_1
While it is an anathema to me to help someone with a problem on a competing OS, here are some things to consider:
1) Upgrade your Solaris system to an HP-UX 11i v2 system.
2) Your legato software is broken. That it cannot restart and bind() to its well known port while there are old connectoins in FIN_WAIT_1 suggests that it is not calling setsockopt(SO_REUSEADDR) and thus broken.
3) FIN_WAIT_1 is an active retransmission state. A FIN has been sent, but no ACK of that FIN has been recieved. As such, any connection in that state should terminate within tcp_ip_abort_interval, or its evil-twin Solaris equivalent.
3b) Your Solaris TCP/IP stack is broken and not groking an ACK of the FIN it has sent, or is not retransmitting a FIN at all when it should.
4) There may be some ndd kludges to forcibly terminate a TCP connection, but frankly, I wouldn't suggest their use even on the OS of my competition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 08:34 PM
тАО02-24-2004 08:34 PM
Re: How to get rid of FIN_WAIT_1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 09:54 PM
тАО02-24-2004 09:54 PM
Re: How to get rid of FIN_WAIT_1
Thanks for the suggestions I like the first one, but it's still a solution that causes downtime ;)
Andrew,
The inetd restart would not work because this socket was not started by the inetd. Still I did test it (could not do any harm) but it did not free up the socket.
We got a go for the reboot(msSUN) and now the legato software started correct.
Thanks all,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 05:00 AM
тАО02-25-2004 05:00 AM