- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tcp/ip timeout
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
05-01-2006 09:23 AM
05-01-2006 09:23 AM
How do i know that sockets has been closed due to TCP time out and also interested to know the
TCP time out of the system ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 10:50 AM
05-01-2006 10:50 AM
SolutionUse ndd to see these:
ndd -get /dev/ip|tcp xxxxxxxx
where xxxxxxx=:
ip_def_ttl
ip_fragment_timeout
tcp_ip_ttl
tcp_keep_alive_interval
tcp_rexmit_interval_initial
tcp_rexmit_interval_max
tcp_time_wait_interval
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 11:26 AM
05-01-2006 11:26 AM
Re: tcp/ip timeout
On Linux Systems I've altered this timeout to speed cluster failover:
tcp_keep_alive_interval
We've changed it to 15 without negative results. The default should be 60.
I suggest thorough testing however to avoid negative results.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 12:31 PM
05-01-2006 12:31 PM
Re: tcp/ip timeout
netstat -p tcp
There are a number of timeout parameters specified already, you can also look at:
ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt
As for setting the tcp_keepalive_interval down to as low as 15 seconds, whether that is "OK" or not depends entirely on how many TCP connections one has and how "active" they are. If they on their own send packets less often than once every 15 seconds, you will have more PPS for keepalive than for "real work"
I would have expected software doing failover to have had some higher-level heartbeat mechanism that could be configured rather than depending on tcp_keepalive_interval et al.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 04:35 PM
05-01-2006 04:35 PM
Re: tcp/ip timeout
The recomended value is 60,
You can do it with
# ndd -set /dev/tcp tcp_time_wait_interval 60000
# to check established connections use:
# netstat -an | grep EST
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 04:39 PM
05-01-2006 04:39 PM
Re: tcp/ip timeout
You can Check this good document for tcp/ip stack hardening:
http://www.cromwell-intl.com/SECURITY/security-stack-hardening.html
Cheers,
Raj.