HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recycle a Socket
Operating System - HP-UX
1833252
Members
3127
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-25-2008 08:57 AM
02-25-2008 08:57 AM
Is there anyway to restart/recycle a single socket connection? i know it will eventually time out but i have been asked to provide a solution to a socket that is stuck without a reboot.
Thanks
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2008 09:11 AM
02-25-2008 09:11 AM
Solution
Hi
What is the state of your socket?
check with netstat -an or ndd -get /dev/tcp tcp_status
else you have a ndd tcp_discon_by_addr
Else we have a lot of different timeouts.
the most usefull is usually keepalive. you configure SO_KEEPALIVE on your socket, then it will send a probe to the peer. In case of no response after the usual timeout( tcp_ip_abort_interval ndd param) your connection is reset.
By default keepalive interval is 2hours, which is very long, you can lower it with ndd parameter tcp_keepalive_interval.
You must then configure tcp_keepalive_interval and tcp_ip_abort_interval to values which matches with your requirements.
If you lower tcp_ip_abort_interval, you need also to be sure tcp_notify_interval stay tcp_ip_abort_interval.
What is the state of your socket?
check with netstat -an or ndd -get /dev/tcp tcp_status
else you have a ndd tcp_discon_by_addr
Else we have a lot of different timeouts.
the most usefull is usually keepalive. you configure SO_KEEPALIVE on your socket, then it will send a probe to the peer. In case of no response after the usual timeout( tcp_ip_abort_interval ndd param) your connection is reset.
By default keepalive interval is 2hours, which is very long, you can lower it with ndd parameter tcp_keepalive_interval.
You must then configure tcp_keepalive_interval and tcp_ip_abort_interval to values which matches with your requirements.
If you lower tcp_ip_abort_interval, you need also to be sure tcp_notify_interval stay tcp_ip_abort_interval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2008 11:29 AM
02-29-2008 11:29 AM
Re: Recycle a Socket
Thanks, I was able to accomplish what I needed by temporarily lowering the keepalive to ensure any ports atht needed clearing/recycling happened. thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP