- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- TCP/IP connect timeout on HP-UX 11.31
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
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
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
тАО02-03-2009 05:48 AM
тАО02-03-2009 05:48 AM
TCP/IP connect timeout on HP-UX 11.31
is there anyone who can tell me if it's possible to modify the tcp/ip connect timeout. The Default settings is 60s and i would like to change it to 10s.
I've checked some ndd tcp parameter, but i don't know if there is one to modify the timeout settings.
Udo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 06:30 AM
тАО02-03-2009 06:30 AM
Re: TCP/IP connect timeout on HP-UX 11.31
By changing the TMOUT variable we can set the telnet sessions timeout. To see the currently set value
#echo $TMOUT
0
If it returns the value of 0 means it is indefinite. Sessions will not get disconnected at all.
If want the sessions to be disconnected if it is idle for 120 seconds set like this.
#export TMOUT=120
So if any sessions are idle for 120 seconds then the session will be disconnected. This is temprory only. If you want to set it permanently add the entry in /etc/profile or individual user profile(~HOME/.profile)
If TMOUT value is 0 and if still sessions gets disconnected, then there could be network settings. Need to contact network administrator. In the network, the network administrator may have set the settings in such a way that if any telnet connection is idle for more than a defined time then the session will be disconnected at router level..
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 06:45 AM
тАО02-03-2009 06:45 AM
Re: TCP/IP connect timeout on HP-UX 11.31
ndd -get /dev/tcp ?
ndd -get /dev/ip ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 04:14 PM
тАО02-03-2009 04:14 PM
Re: TCP/IP connect timeout on HP-UX 11.31
You might look into tcp_ip_abort_cinterval - that is how long TCP will wait for an ACK of a SYN or SYN|ACK segment.
Keep in mind though that ndd settings are system-wide, and that the initial timeout will be based on tcp_rexmit_interval_initial and double each time. So, setting tcp_ip_abort_cinterval to 10 seconds may only give one or two retransmissions of the SYN or SYN|ACK segment.
For "supported" tunables, one can issue the command:
ndd -h
for a decent description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 04:02 AM
тАО02-04-2009 04:02 AM
Re: TCP/IP connect timeout on HP-UX 11.31
Check the following ndd parameters ,
tcp_time_wait_interval
tcp_tw_cleanup_interval
use ndd -h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 02:34 AM
тАО02-05-2009 02:34 AM
Re: TCP/IP connect timeout on HP-UX 11.31
i will test the ndd settings later.
Actually i have placed a workaround into my shell script.
Do a ping before i start a tcp/ip connection.
Thank you all
Udo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 09:50 AM
тАО02-05-2009 09:50 AM