<?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: oracle application; client connection closed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511134#M895668</link>
    <description>There is a feature in Oracle called Dead-connection detection (DCD) which was designed specifically for this puprose. If you enter into your $ORACLE_HOME/network/admin/sqlnet.ora file SQLNET.expire_time = 10 it will detect when one side of the connection is no longer there and release the resources accordingly. This is useful for the dreaded reboot, and End Task methods of shutting down a forms app.&lt;BR /&gt;&lt;BR /&gt;For more info&lt;BR /&gt;&lt;A href="http://metalink.oracle.com/" target="_blank"&gt;http://metalink.oracle.com/&lt;/A&gt;&lt;BR /&gt;Metalink Note:1013364.6&lt;BR /&gt;Subject: WHAT IS DEAD CONNECTION DETECTION (DCD)?&lt;BR /&gt;</description>
    <pubDate>Thu, 29 Mar 2001 18:38:29 GMT</pubDate>
    <dc:creator>Chad Molina</dc:creator>
    <dc:date>2001-03-29T18:38:29Z</dc:date>
    <item>
      <title>oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511131#M895665</link>
      <description>when user oracle application(forms)hangs on client side the corresponding server process is not get&lt;BR /&gt;disconnected and its still running on the server. I can able to find out the process for the IDLE connection. Is there anyway to timeout the server&lt;BR /&gt;process connection? &lt;BR /&gt;&lt;BR /&gt;we are using oracle application 11 and oracle &lt;BR /&gt;database 8.0.5, unix HP-UX 11.0, N class.</description>
      <pubDate>Thu, 29 Mar 2001 10:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511131#M895665</guid>
      <dc:creator>Madanagopalan S</dc:creator>
      <dc:date>2001-03-29T10:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511132#M895666</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The orthodox method is to set tcp_keepalive_interval via ndd. I have extracted its description for your convenience.&lt;BR /&gt;&lt;BR /&gt;If the user process already terminates at the Oracle client end, the server process will terminate when it reaches the tcp_keepalive_interval from the time the user process was idle/terminated.&lt;BR /&gt;&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 any unacknowledged data when the time-out period expires, the timer is simply restarted. If the remote system has crashed and rebooted, it will presumably know nothing about this connection, and it will issue an RST in response to the ACK. 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 retransmission time-out will eventually exceed threshold R2, and the connection will be terminated.&lt;BR /&gt;&lt;BR /&gt;With this keepalive behavior, a connection can time-out and 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;&lt;BR /&gt;The unorthodox method (highly discouraged) is to make use of tcp_discon_by_addr which allows you to terminate specific connections as reflected by tcp_status, all via ndd.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Thu, 29 Mar 2001 12:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511132#M895666</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-03-29T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511133#M895667</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To quote some usage examples,&lt;BR /&gt;&lt;BR /&gt;# ndd -set /dev/tcp tcp_keepalive_interval 1800000 # max. idle time for connection is half an hr&lt;BR /&gt;# ndd -set /dev/tcp tcp_keepalive_interval 900000 # max. idle time for connection is 15 mins&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Thu, 29 Mar 2001 13:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511133#M895667</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-03-29T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511134#M895668</link>
      <description>There is a feature in Oracle called Dead-connection detection (DCD) which was designed specifically for this puprose. If you enter into your $ORACLE_HOME/network/admin/sqlnet.ora file SQLNET.expire_time = 10 it will detect when one side of the connection is no longer there and release the resources accordingly. This is useful for the dreaded reboot, and End Task methods of shutting down a forms app.&lt;BR /&gt;&lt;BR /&gt;For more info&lt;BR /&gt;&lt;A href="http://metalink.oracle.com/" target="_blank"&gt;http://metalink.oracle.com/&lt;/A&gt;&lt;BR /&gt;Metalink Note:1013364.6&lt;BR /&gt;Subject: WHAT IS DEAD CONNECTION DETECTION (DCD)?&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Mar 2001 18:38:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511134#M895668</guid>
      <dc:creator>Chad Molina</dc:creator>
      <dc:date>2001-03-29T18:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511135#M895669</link>
      <description>Hi Chad Molina,&lt;BR /&gt;   Is this applicable to oracle applications also? &lt;BR /&gt;because oracle applications are web based requests.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Madan.</description>
      <pubDate>Fri, 30 Mar 2001 05:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511135#M895669</guid>
      <dc:creator>Madanagopalan S</dc:creator>
      <dc:date>2001-03-30T05:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511136#M895670</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I am using Oracle database 8.0.6 in my environment. In my environment at least, SQLNET.EXPIRE_TIME in sqlnet.ora had not been effective in killing off HUNG connections. &lt;BR /&gt;&lt;BR /&gt;As such, I reduced TCP_KEEPALIVE_INTERVAL from 2 hours to just 1/2 hour. Connections idling for half an hour were terminated and its corresponding process killed. The TCP_KEEPALIVE_INTERVAL value was also hardcoded in the net startup configuration script ie /etc/rc.config.d/nddconf.&lt;BR /&gt;&lt;BR /&gt;Another point to note. The INACTIVE status from v$session does not necessary imply that a process is hung or not running ie. a running sqlnet connection doing a select statement is also flagged as INACTIVE much to my dismay.&lt;BR /&gt;Instead, v$session_wait is more accurate in identifying a true hung/idle session. &lt;BR /&gt;&lt;BR /&gt;A unix script can be written to interface with svrmgrl to identify the hung/idle sessions from the v$session_wait and terminate them.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Fri, 30 Mar 2001 05:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511136#M895670</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-03-30T05:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511137#M895671</link>
      <description>Yes, it _should_ work for any app that connects to the DB be it a web process, forms client, SQLplus session, etc ...&lt;BR /&gt;&lt;BR /&gt;Chad</description>
      <pubDate>Fri, 30 Mar 2001 16:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511137#M895671</guid>
      <dc:creator>Chad Molina</dc:creator>
      <dc:date>2001-03-30T16:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: oracle application; client connection closed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511138#M895672</link>
      <description>pls DO remember halt your MC-SG first before you change any TCP related parameter because MC use TCP connection to detect other nodes alive!!!!!!</description>
      <pubDate>Mon, 02 Apr 2001 02:50:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-application-client-connection-closed/m-p/2511138#M895672</guid>
      <dc:creator>Anthony_4</dc:creator>
      <dc:date>2001-04-02T02:50:45Z</dc:date>
    </item>
  </channel>
</rss>

