- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NDD Tunables for TCP Keepalives
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
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
тАО01-26-2010 01:01 PM
тАО01-26-2010 01:01 PM
This said, could folks weigh in on any gotchas and/or pitfalls we could encounter from doing this? Also if someone could confirm I'm interpreting this correctly that to do this I would need to lessen the current value to make this so?
Current tunable setting is as follows:
#ndd -get /dev/tcp tcp_keepalive_interval
7200000 (120 minutes)
Thanks,
/KPS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 02:14 PM
тАО01-26-2010 02:14 PM
Solution"... I would need to lessen the current value ..."
You have tcp connections that never send a close connection signal, that are always in an ESTABLISHED state and never transition.
You can't re-established a new connection because the old connection is still there and can't be cleared.
The default keep alive is 2 hours but the kill connection message is not working? Or, it is working but you can't wait 2 hours?
So you want to set the new keep alive value from 2 hours to 5 minutes.
Question: What if the ESTABLISHED connection that you are terminating after 5 minutes is still good?
Question: What test can you run to verify that the ESTABLISHED connection is good or bad before killing it?
If you are experiencing these keep-alive problems then they are probably happening at the same time on the same days and can be cross referenced. Are they?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 02:19 PM
тАО01-26-2010 02:19 PM
Re: NDD Tunables for TCP Keepalives
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 02:27 PM
тАО01-26-2010 02:27 PM
Re: NDD Tunables for TCP Keepalives
If there is a better way to handle this we would be "all ears" and would be open to other alternatives, but it's what we've proposed and come up with so far.
Thanks,
/KPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 03:10 PM
тАО01-26-2010 03:10 PM
Re: NDD Tunables for TCP Keepalives
b) You're considering changing your keep alive to less than 1 hour because the firewall terminates less than 1 hour
Okay. So restate the problem. Right now you can not re-establish a connection because the firewall terminates a session and leaves the port in an established state.
And by setting your tcp keep alive to less than 1 hour like the firewall, the keep alive would clear the port instead of leaving it in an ESTABLISHED state.
If I understand this correctly then yeah, make the tcp keep alive small enough so the firewall never interferes.
Problems: "...it's normal for some
You will be making a segment of users happy and another segment furious.
The furious people will never complete a session. They will always time out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2010 05:48 PM
тАО01-26-2010 05:48 PM
Re: NDD Tunables for TCP Keepalives
Changing tcp_keepalive_interval presumes the application(s) in question are actually making the setsockopt() call to enable keepalives. Are they?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2010 06:53 AM
тАО01-27-2010 06:53 AM
Re: NDD Tunables for TCP Keepalives
Thanks again,
/KPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2010 01:00 PM
тАО01-27-2010 01:00 PM
Re: NDD Tunables for TCP Keepalives
Should read: They will always be left in an ESTABLISHED state even though dead