Technical article 107590

How to modify TCP/IP disconnect parameter, tcp_keepidle, in SCO OpenServer 5.

OpenServer 5.0.0OpenServer 5.0.7

Written · Last revised

Problem

I want to change the default time TCP/IP waits before dropping a connection on my SCO OpenServer 5.0.0 system.

Cause

SCO TCP/IP implements a 'keep-alive' timer, as required by the
RFC specifications for TCP/IP.  The minimum delay before
disconnection is two hours.
It is possible to modify this value.  Doing so will create a
TCP/IP connection outside the RFC specification.  Also, any
long delays in response will cause the connection to close.

Solution

The TCP/IP connection time can be modified by altering the value of the 'tcp_keepidle' parameter contained in the file "/etc/default/inet". The default setting is 7200 seconds. Use the 'inconfig(ADMN)' command to modify the file.

The current setting for the 'tcp_keepidle' parameter can be found using:

# inconfig tcp_keepidle
inconfig: symbol tcp_keepidle has current value 7200,
minimum 300, maximum 86400
Modify the setting as desired.  The example below has modified
the setting to 1800 seconds:
# inconfig tcp_keepidle 1800
Check the setting:
# inconfig tcp_keepidle
inconfig: symbol tcp_keepidle has current value 1800,
minimum 300, maximum 86400

Restart your system. The '/etc/inconfig' utility is invoked by the "/etc/rc2.d/S85tcp" startup file when the system enters multiuser mode.

See also

How to modify this parameter for SCO TCP/IP 1.2.1/SCO UNIX System V/386 is detailed in TA107452; "_fst script for modifying the disconnect time for TCP/IP for SCO UNIX."

From the Xinuos technical article database, record 107590. Reproduced with permission. The original is at www.sco.com/ta/107590, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.