- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to set tcp_keepalives_kill
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
тАО09-02-2009 09:35 PM
тАО09-02-2009 09:35 PM
how to set tcp_keepalives_kill
I am trying to set tcp_keepalives_kill value to 5000 from default value of 1 in HP-UX Integrity server[11.31]. I am getting this error message.
$ ndd -set /dev/tcp tcp_keepalives_kill 5000
operation failed, Invalid argument
$ uname -a
HP-UX test B.11.31 U ia64 3785580200 unlimited-user license.
Kindly let me know how to go about this.
Thanks,
Senthil.
Correct answer will get full 10 points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 09:50 PM
тАО09-02-2009 09:50 PM
Re: how to set tcp_keepalives_kill
#ndd -h unsupported | grep tcp_keepalives_kill
tcp_keepalives_kill - Types of keep-alive probe to use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 10:15 PM
тАО09-02-2009 10:15 PM
Re: how to set tcp_keepalives_kill
TCP_KEEPALIVES_KILL
Description: Determines the maximum number of times to probe before dropping.
How to view or set: Use the ndd command to determine the current value or to set the value. For example:
ndd -set /dev/tcp tcp_keepalives_kill 5000
Default value: 1
Recommended value: 5000 milliseconds
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 01:02 AM
тАО09-03-2009 01:02 AM
Re: how to set tcp_keepalives_kill
help text is wrong
it is 0 or 1.
0 - we make a keepalive probe, so a simple ack is sent. If peer find it out of state it will sent a reset. Else nothing happens and connection persist.
1 - we make a keepalive kill, we resend the last sent byte, so if after tcp_ip_abort_interval and normal retransmission we don't get an ACK, then we kill the connection..
You should probably raise it to hp support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 01:08 AM
тАО09-03-2009 01:08 AM
Re: how to set tcp_keepalives_kill
at TCP level TCP_KEEPINTVL and TCP_KEEPCNT
but be sure to be uptodate with xport patches.
man 7p tcp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 01:12 AM
тАО09-03-2009 01:12 AM
Re: how to set tcp_keepalives_kill
- and in most case it should not be changed.
If you want to have more control about it, use setsockopt() at application level
ndd params beeing general to all of the applications.