<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TCP time-out in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597860#M593145</link>
    <description>you can run the following to get supported/unsupported commands for tcp and ip:&lt;BR /&gt;&lt;BR /&gt;#ndd -h supported&lt;BR /&gt;#ndd -h unsupported&lt;BR /&gt;&lt;BR /&gt;which displays examples of network parameters you can set with -set&lt;BR /&gt;&lt;BR /&gt;#ndd -set &lt;NETWORK_DEVICE&gt; &lt;PARAMETER&gt; value&lt;BR /&gt;&lt;BR /&gt;and as  Santosh said, use -get to display the current value.  &lt;BR /&gt;&lt;/PARAMETER&gt;&lt;/NETWORK_DEVICE&gt;</description>
    <pubDate>Fri, 19 Oct 2001 11:23:33 GMT</pubDate>
    <dc:creator>Christopher McCray_1</dc:creator>
    <dc:date>2001-10-19T11:23:33Z</dc:date>
    <item>
      <title>TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597856#M593141</link>
      <description>&lt;BR /&gt;Hi ALL,&lt;BR /&gt;I've been asked to sort out a couple of problems with a HP-UX 11 box. One is a time-out error when connected via TCP. Connection seems to time out after 20 mins (using telnet), ie if a user kicks off a report remotely and there is no communication between their PC and the HP box for 20 mins while report is being compiled, the HP box closes connection. &lt;BR /&gt;OK I know it may be a router config issue but I thought I'd try the box first.&lt;BR /&gt;Anyone know how to change TCP parameters?&lt;BR /&gt;Cheers,&lt;BR /&gt;Gareth</description>
      <pubDate>Fri, 19 Oct 2001 09:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597856#M593141</guid>
      <dc:creator>gareth douglas</dc:creator>
      <dc:date>2001-10-19T09:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597857#M593142</link>
      <description>The machine shouldn't log the user out unless you have something like the environment variable TMOUT set.  You can use the ndd command to check the tcp settings...but not really sure which setting you'd be looking for.  Try:&lt;BR /&gt;&lt;BR /&gt;ndd -get /dev/ip  ?&lt;BR /&gt;ndd -get /dev/tcp ?&lt;BR /&gt;&lt;BR /&gt;to get a full listing of tcp and IP settings.  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Oct 2001 11:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597857#M593142</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-19T11:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597858#M593143</link>
      <description>Does this happen constantly?&lt;BR /&gt;&lt;BR /&gt;There are a couple of things that can cause TCP to go for long waits, but generally it is either a resolving issue (ie check DNS)&lt;BR /&gt;&lt;BR /&gt;Or, most likely, a routing issue - if you have a network card configured, but not connected with a route first in the routing table then all packets will attempt to go down there before timeing out and using a different route.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;dave</description>
      <pubDate>Fri, 19 Oct 2001 11:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597858#M593143</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2001-10-19T11:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597859#M593144</link>
      <description>Are your users going through a firewall - if so, look there.  Firewalls can be configured to time users out after a certain interval.</description>
      <pubDate>Fri, 19 Oct 2001 11:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597859#M593144</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-10-19T11:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597860#M593145</link>
      <description>you can run the following to get supported/unsupported commands for tcp and ip:&lt;BR /&gt;&lt;BR /&gt;#ndd -h supported&lt;BR /&gt;#ndd -h unsupported&lt;BR /&gt;&lt;BR /&gt;which displays examples of network parameters you can set with -set&lt;BR /&gt;&lt;BR /&gt;#ndd -set &lt;NETWORK_DEVICE&gt; &lt;PARAMETER&gt; value&lt;BR /&gt;&lt;BR /&gt;and as  Santosh said, use -get to display the current value.  &lt;BR /&gt;&lt;/PARAMETER&gt;&lt;/NETWORK_DEVICE&gt;</description>
      <pubDate>Fri, 19 Oct 2001 11:23:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597860#M593145</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2001-10-19T11:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597861#M593146</link>
      <description>Hi Gareth:&lt;BR /&gt;&lt;BR /&gt;One other possibility would fit this.  If the TMOUT environmental variable is non-zero and for instance, you initiated a background process, then the shell would terminate if a command wasn't entered within $TMOUT seconds from the last PS1 prompt.  Would this fit your situation?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Oct 2001 11:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597861#M593146</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-19T11:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: TCP time-out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597862#M593147</link>
      <description>Heres an HP document on how to do this;&lt;BR /&gt;&lt;BR /&gt;KBRC00006395               &lt;BR /&gt;How To adjust the TCP timeouts on 11.X HP-UX? &lt;BR /&gt;Document Information Table &lt;BR /&gt;How To adjust the TCP timeouts on 11.X HP-UX? DocId: KBRC00006395   Updated:&lt;BR /&gt;4/4/01 4:37:00 AM &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;How to shorten the time it takes for an application to be notified&lt;BR /&gt;that a TCP connection has timed out or that new connection cannot be made.&lt;BR /&gt;&lt;BR /&gt;Is it possible to change the time it takes for TCP to give up when trying to&lt;BR /&gt;send data?&lt;BR /&gt;&lt;BR /&gt;Is it possible to change how long it takes TCP to give up when trying to&lt;BR /&gt;make a&lt;BR /&gt;new connection?&lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;The ndd command allows you to adjust both of these TCP timeouts on 11.X.&lt;BR /&gt;&lt;BR /&gt;The relevent ndd tunables are:&lt;BR /&gt; see man ndd for more details &lt;BR /&gt;# /usr/bin/ndd -h tcp_ip_abort_interval&lt;BR /&gt;&lt;BR /&gt;tcp_ip_abort_interval:&lt;BR /&gt;&lt;BR /&gt;    Second threshold timer for established connections.&lt;BR /&gt;&lt;BR /&gt;    When it must retransmit packets because a timer has expired,&lt;BR /&gt;    TCP first compares the total time it has waited against two&lt;BR /&gt;    thresholds, as described in RFC?1122, 4.2.3.5. If it has waited&lt;BR /&gt;    longer than the second threshold, TCP terminates the connection.&lt;BR /&gt;    [500,-] Default: 600000 (10 minutes)&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/ndd -h tcp_ip_abort_cinterval&lt;BR /&gt;&lt;BR /&gt;tcp_ip_abort_cinterval:&lt;BR /&gt;&lt;BR /&gt;    Second threshold timer during connection establishment.&lt;BR /&gt;&lt;BR /&gt;    When it must retransmit the SYN packet because a timer has&lt;BR /&gt;    expired, TCP first compares the total time it has waited&lt;BR /&gt;    against two thresholds, as described in RFC?1122, 4.2.3.5.&lt;BR /&gt;    If it has waited longer than the second threshold, TCP&lt;BR /&gt;    terminates the connection. [1000,-]&lt;BR /&gt;    Default: 75000 (75 seconds)&lt;BR /&gt;&lt;BR /&gt;To set them use:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/ndd -set /dev/tcp tcp_ip_abort_interval  120000&lt;BR /&gt;/usr/bin/ndd -set /dev/tcp tcp_ip_abort_cinterval 25000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will only impact connections made AFTER the change. It will not imapct&lt;BR /&gt;existing connections. To make the changes take place at boot edit:&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/nddconf&lt;BR /&gt;&lt;BR /&gt;This would look similar to:&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[0]=tcp&lt;BR /&gt;NDD_NAME[0]=tcp_ip_abort_interval&lt;BR /&gt;NDD_VALUE[0]=120000&lt;BR /&gt;&lt;BR /&gt;TRANSPORT_NAME[1]=tcp&lt;BR /&gt;NDD_NAME[1]=tcp_ip_abort_cinterval&lt;BR /&gt;NDD_VALUE[1]=25000&lt;BR /&gt;&lt;BR /&gt;BEWARE that setting these values too low may cause TCP to fail&lt;BR /&gt;to deliver data, or make new connections due to a busy or slow&lt;BR /&gt;network when it might succeed, given a bit more time. If you&lt;BR /&gt;experience connection problems, try restoring the settings to&lt;BR /&gt;their default values which should be optimal in most cases.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Oct 2001 11:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tcp-time-out/m-p/2597862#M593147</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-19T11:32:50Z</dc:date>
    </item>
  </channel>
</rss>

