- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TCPIP connection Query
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
11-02-2001 09:11 AM
11-02-2001 09:11 AM
I'm currently trying to figure out a way of removing stale port connections on one of our servers, with out rebooting. Does anyone know of a way to remove FIN_WAIT connections by force? - I know these are supposed to time out, but I'd like to get rid of them asap. I can't locate the daemon running that services the port in question (it crashed, but left a user connected) and I can't now restart it because the port is in use.
Any tips, pointers, explanation warmly received!!!
Thanks!
-ChaZ-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:20 AM
11-02-2001 09:20 AM
SolutionTake a look at the thread below for more info.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=c68afaf2035134a852/screen=ckiDisplayDocument?docId=200000050068096
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:21 AM
11-02-2001 09:21 AM
Re: TCPIP connection Query
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa7d9a1abbac8d5118ff10090279cd0f9,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:59 AM
11-02-2001 09:59 AM
Re: TCPIP connection Query
In addition to the info
given in the thread, this
should be of some help:
this applies if you are using
11.00 :
**
# ndd -get /dev/tcp tcp_fin_wait_2_timeout
Note: The default is zero (0), which indicates an infinite wait for the
connection to be dropped. You can interpret any value other than zero as
a millisecond value.
You can execute this command to change the value to 1 minute:
# ndd -set /dev/tcp tcp_fin_wait_2_timeout 60000
***
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 10:33 AM
11-02-2001 10:33 AM
Re: TCPIP connection Query
Thanks again!
-ChaZ-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 05:45 PM
11-02-2001 05:45 PM
Re: TCPIP connection Query
one really should get such apps fixed.
indeed FIN_WAIT_1 is an active retransmission state and will terminate in no more than tcp_ip_abort_interval
when an application calls close() and thus "detaches" from the TCP endpoint, that endpoint, when in FIN_WAIT_2 state start sending TCP keepalives after tcp_deepalive_detached_interval, and will keep sending them for no more than tcp_ip_abort_interval before toasting the endpoint.
FIN_WAIT_2 can also be entered by apps which call shutdown(SHUT_WR) to put the TCP connection in a perfectly valid, receive-only state. if one sets that tcp_fin_wait_timer, it may arbitrarily nuke such connectoins, much to their chagrin.
the only time the FIN_WAIT_2 TCP keepalives (tcp_keepalive_detached_interval) do not kill a connection is when the remote endpoint is still there - such as that receive-only situation, or broken firewalls that haven't maintained connection state properly