<?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 Configuring TCP KeepAlive Parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751119#M388243</link>
    <description>Hi all,&lt;BR /&gt;I need to change some TCP parameters(KEEPALIVE_ TIME KEEPALIVE_INTERVAL KEEPALIVE_PROBES). The default values arent suitable for our softwares and oracle connection is active after lost connection.&lt;BR /&gt;I read several article, such as:&lt;BR /&gt;&lt;A href="http://www.sybase.com/detail?id=611" target="_blank"&gt;http://www.sybase.com/detail?id=611&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.starquest.com/Supportdocs/techStarLicense/SL002_TCPKeepAlive.shtml" target="_blank"&gt;http://www.starquest.com/Supportdocs/techStarLicense/SL002_TCPKeepAlive.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://oraforecast.com/orawiki/index.php/How_to_enable_Dead_Connection_Detection" target="_blank"&gt;http://oraforecast.com/orawiki/index.php/How_to_enable_Dead_Connection_Detection&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So is it secure if i will change it on HP-UX 11.3? should i reboot my server after changing these values?&lt;BR /&gt;are steps in article ok? does HP have official docs for this?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rustam</description>
    <pubDate>Thu, 10 Feb 2011 11:58:25 GMT</pubDate>
    <dc:creator>rustam_2</dc:creator>
    <dc:date>2011-02-10T11:58:25Z</dc:date>
    <item>
      <title>Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751119#M388243</link>
      <description>Hi all,&lt;BR /&gt;I need to change some TCP parameters(KEEPALIVE_ TIME KEEPALIVE_INTERVAL KEEPALIVE_PROBES). The default values arent suitable for our softwares and oracle connection is active after lost connection.&lt;BR /&gt;I read several article, such as:&lt;BR /&gt;&lt;A href="http://www.sybase.com/detail?id=611" target="_blank"&gt;http://www.sybase.com/detail?id=611&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.starquest.com/Supportdocs/techStarLicense/SL002_TCPKeepAlive.shtml" target="_blank"&gt;http://www.starquest.com/Supportdocs/techStarLicense/SL002_TCPKeepAlive.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://oraforecast.com/orawiki/index.php/How_to_enable_Dead_Connection_Detection" target="_blank"&gt;http://oraforecast.com/orawiki/index.php/How_to_enable_Dead_Connection_Detection&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So is it secure if i will change it on HP-UX 11.3? should i reboot my server after changing these values?&lt;BR /&gt;are steps in article ok? does HP have official docs for this?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rustam</description>
      <pubDate>Thu, 10 Feb 2011 11:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751119#M388243</guid>
      <dc:creator>rustam_2</dc:creator>
      <dc:date>2011-02-10T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751120#M388244</link>
      <description>&lt;!--!*#--&gt;Normally you'd use ndd for setting the parameters with no reboot required, but if you want them to be set after the next boot too, then you'll need to edit /etc/rc.config.d/nddconf to make the changes permanent.&lt;BR /&gt;&lt;BR /&gt;The parameters you're probably interested in are:&lt;BR /&gt;&lt;BR /&gt;# ndd -get /dev/tcp ? | grep -i keep&lt;BR /&gt;tcp_keepalive_interval        (read and write)&lt;BR /&gt;tcp_keepalives_kill           (read and write)&lt;BR /&gt;tcp_keepalive_detached_interval(read and write)&lt;BR /&gt;tcp_keepalive_ext             (read and write)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And, you can get informative help with "ndd -h":&lt;BR /&gt;&lt;BR /&gt;# ndd -h tcp_keepalive_interval     &lt;BR /&gt;&lt;BR /&gt;tcp_keepalive_interval:&lt;BR /&gt;&lt;BR /&gt;    Interval for sending keep-alive probes.&lt;BR /&gt;&lt;BR /&gt;    If any activity has occurred on the connection or if there is&lt;BR /&gt;    any unacknowledged data when the time-out period expires, the&lt;BR /&gt;    timer is simply restarted. If the remote system has crashed&lt;BR /&gt;    and rebooted, it will presumably know nothing about this&lt;BR /&gt;    connection, and it will issue an RST in response to the ACK.&lt;BR /&gt;    Receipt of the RST will terminate the connection.&lt;BR /&gt;&lt;BR /&gt;    If the keepalive packet is not ACK'd by the remote TCP, the normal&lt;BR /&gt;    retransmission time-out will eventually exceed threshold R2,&lt;BR /&gt;    and the connection will be terminated.&lt;BR /&gt;&lt;BR /&gt;    With this keepalive behavior, a connection can time-out and&lt;BR /&gt;    terminate without actually receiving an RST from the remote TCP.&lt;BR /&gt;    [10000, 10*24*3600000] Default: 2 * 3600000 (2 hours)&lt;BR /&gt;&lt;BR /&gt;See "man ndd" for even more.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2011 14:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751120#M388244</guid>
      <dc:creator>jack challen_1</dc:creator>
      <dc:date>2011-02-10T14:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751121#M388245</link>
      <description>It would be better for individual applications to have their own application layer "keepalive" mechanism, but as suggested, you do not have to reboot your system after changing the relevant ndd settings.  I suspect though that the settings will only take effect for TCP connections established *after* the ndd changes.</description>
      <pubDate>Fri, 11 Feb 2011 00:11:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751121#M388245</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2011-02-11T00:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751122#M388246</link>
      <description>Hi and thanks jack challen and rick jones.&lt;BR /&gt;&lt;BR /&gt;Jack challen, so for keeping these parameters for all time (after several reboots) I need to edit file /etc/rc.config.d/nddconf instead ndd? I saw that there are help information, and no parameters. So should I add new parameters in this file with vi? I must have these values: KEEPALIVE_TIME =12 min, KEEPALIVE_PROBES= 7 min, KEEPALIVE_INTERVAL= 15 min. I should add these values in file?:&lt;BR /&gt;1)For keepalive_interval=15min ( 900 000 msec)&lt;BR /&gt;TRANSPORT_NAME[0]=tcp&lt;BR /&gt;NDD_NAME[0]=tcp_keepalive_interval&lt;BR /&gt;NDD_VALUE[0]= 900 000&lt;BR /&gt;2)I couldnt find parameter KEEPALIVE_TIME in ndd â  h, so I can add these parameter in nddconf file? I need to add keepalive_time with 720 000 value.&lt;BR /&gt;3)Also couldnt find parameter keepalive_probes. But read some the same parameter tcp_keepalives_kill         - (Types of keep-alive probe to use). Are they the same keepalive_probes and tcp_keepalives_kill? If arenâ  t how can I set this value?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;# ndd -get /dev/tcp ? | grep -i keep&lt;BR /&gt;&amp;gt;tcp_keepalive_interval        (read and write)&lt;BR /&gt;&amp;gt;tcp_keepalives_kill           (read and write)&lt;BR /&gt;&amp;gt;tcp_keepalive_detached_interval(read and write)&lt;BR /&gt;&amp;gt;tcp_keepalive_ext             (read and write)&lt;BR /&gt;&lt;BR /&gt;What means read and write? I didnt find information about keepalive_ext, for what I can use it?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;# ndd -h tcp_keepalive_interval     &lt;BR /&gt;&amp;gt;With this keepalive behavior, a connection can time-out and&lt;BR /&gt;&amp;gt;terminate without actually receiving an RST from the remote TCP.&lt;BR /&gt;&amp;gt;[10000, 10*24*3600000] Default: 2 * 3600000 (2 hours)&lt;BR /&gt;Yeah, thanks, I read that many OS has the value 2 hours.&lt;BR /&gt;&lt;BR /&gt;Yeah, rick jones, I will hope that I dont need to reboot system and If I reboot in few years then these parameters will be alive from file /etc/rc.config.d/nddconf</description>
      <pubDate>Fri, 11 Feb 2011 06:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751122#M388246</guid>
      <dc:creator>rustam_2</dc:creator>
      <dc:date>2011-02-11T06:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751123#M388247</link>
      <description>Not appearing in ndd -h output (or "ndd /dev/tcp ?") output is not conclusive, it is a strong indication that the parameter does not exist.  It wouldn't be the first time that database documentation writers got their OSes and/or network tunables confused.</description>
      <pubDate>Fri, 11 Feb 2011 16:21:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751123#M388247</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2011-02-11T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751124#M388248</link>
      <description>So rick jones, what do you think, what should and could i do? i need to change these parameters but dont know how. &lt;BR /&gt;&lt;BR /&gt;Thank you for reading and helping.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;rustam&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Feb 2011 06:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751124#M388248</guid>
      <dc:creator>rustam_2</dc:creator>
      <dc:date>2011-02-15T06:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TCP KeepAlive Parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751125#M388249</link>
      <description>You could make tcp_keepalive_interval shorter if you wish - it won't really "hurt" anything to make it say 30 seconds, but it will be more traffic when you have "idle" connections.  Ie, if you have connections that are often idle for more than 30 seconds, but less than two hours, setting tcp_keepalive_interval to 30 seconds will increase (slightly) the packets your system sends - the keepalive probes.&lt;BR /&gt;&lt;BR /&gt;BTW, the read and write bit says that one can both read the parameter with ndd and write (aka set) the parameter with ndd.</description>
      <pubDate>Tue, 15 Feb 2011 17:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/configuring-tcp-keepalive-parameters/m-p/4751125#M388249</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2011-02-15T17:59:21Z</dc:date>
    </item>
  </channel>
</rss>

