- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to Disconnect idle remote client
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
02-22-2004 06:22 PM
02-22-2004 06:22 PM
How to Disconnect idle remote client
b)Will it solve if i'm going to use?
c)Where and how to configure socket keepalive in HPUX?
Thanks in advance
Ferdie Banu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 07:30 PM
02-22-2004 07:30 PM
Re: How to Disconnect idle remote client
a) You can do it to do the next command.
For example)
#ndd -get /dev/tcp tcp_status
#ndd -set /dev/tcp tcp_discon 0x010203404
b) skip
c) #ndd -h | grep keep
tcp_keepalive_detached_interval - Send Keepalive probes for detached TCP
tcp_keepalive_interval - Interval for sending keepalive probes
tcp_keepalives_kill - Types of keep-alive probe to use
This command will show the tcp parameters relating to keepalive.
I hope it help you..
Good day~~
Tae Kyung Lee
From Korea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 07:43 PM
02-22-2004 07:43 PM
Re: How to Disconnect idle remote client
b)Will it solve if i'm going to use socket keepalive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 07:56 PM
02-22-2004 07:56 PM
Re: How to Disconnect idle remote client
Refer to this document..
I think it help you.
Taekyung Lee,
From Korea.
- Refer to this -
My application program is causing a large number of sockets to
stay closed in the TIME_WAIT state.
How can I shorten the time a socket stays in this state?
Configuration Info
Operating System - HP-UX
Version - 11.0
Hardware System - HP9000
Series - K370
Solution
You can control it with ndd -h tcp_time_wait_interval.
Definition of tcp_time_wait_interval:
Amount of time TCP endpoints persist in TCPS_TIME_WAIT state.
[1000,600000] Default: 60000 (60 seconds)
Note: This capability is only available in HP-UX 10.30 and greater.
Look at the value with this command:
ndd -get /dev/tcp tcp_time_wait_interval
60000
Set the value with this command:
ndd -set /dev/tcp tcp_time_wait_interval xxxxx
where xxxxx is the desired number of milliseconds. This setting
does not persist across a root, so will need to be added to a startup
script.
Important: Be careful with the tcp_time_wait_interval setting
for the reason described below.
This timer is in place and is part of the TCP Protocol Specification
to prevent a particular problem. A TCP connection is made unique by
these four numbers:
local IP + local TCP port + remote IP + remote TCP port
If a packet is sent out into the network with these four numbers and
the user then tears down the connection and REUSES the same 4-tupple
for a NEW connection, then when the packet from the old connection comes
in off the wire, it will overwrite the new connection. Thus, we have the
TIME_WAIT state to prevent old connection numbers from being reused
before all data is 'flushed' off the network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2004 08:00 PM
02-22-2004 08:00 PM