<?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 CLOSE_WAIT Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541618#M595223</link>
    <description>I was just wondering if anyone knew whether or not you could use ndd and tcp_discon or tcp_discon_by_addr to clear ports in a CLOSE_WAIT state.  Someone told me once that the clearing of ports in the CLOSE_WAIT state could not be done without a server reboot.  Can anyone shed some light on this question for me?  Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jason V.</description>
    <pubDate>Mon, 18 Jun 2001 13:06:28 GMT</pubDate>
    <dc:creator>Jason VanDerMark</dc:creator>
    <dc:date>2001-06-18T13:06:28Z</dc:date>
    <item>
      <title>CLOSE_WAIT Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541618#M595223</link>
      <description>I was just wondering if anyone knew whether or not you could use ndd and tcp_discon or tcp_discon_by_addr to clear ports in a CLOSE_WAIT state.  Someone told me once that the clearing of ports in the CLOSE_WAIT state could not be done without a server reboot.  Can anyone shed some light on this question for me?  Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jason V.</description>
      <pubDate>Mon, 18 Jun 2001 13:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541618#M595223</guid>
      <dc:creator>Jason VanDerMark</dc:creator>
      <dc:date>2001-06-18T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAIT Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541619#M595224</link>
      <description>lsof-4.55&lt;BR /&gt;List files, sockets, etc opened by processes. Also gives a large amount of other related information. &lt;BR /&gt;Get &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/&lt;/A&gt;</description>
      <pubDate>Mon, 18 Jun 2001 13:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541619#M595224</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-18T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAIT Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541620#M595225</link>
      <description>Hi Jason,&lt;BR /&gt;&lt;BR /&gt;I believe If you could have a look to the "TCP State transition Diagram", it would be benefic to undrestand the phenomena .&lt;BR /&gt;&lt;BR /&gt;It seems that your application is not closing the connection and remaining in the CLOSE_WAIT state. You need to execute a close in order to be in the state " LAST_ACK " and this terminates correctly. I propose, you can told the developpers to finish thier works by adding the close-instruction in their code to close the socket correctly.&lt;BR /&gt;&lt;BR /&gt;Please have a look in the following book :&lt;BR /&gt;UNIX&lt;BR /&gt;Network Programming&lt;BR /&gt;Networking APIs : Sockets and XTI&lt;BR /&gt;Volume 1&lt;BR /&gt;W. Richard Stevens.&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Tue, 19 Jun 2001 09:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541620#M595225</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-06-19T09:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAIT Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541621#M595226</link>
      <description>Jason,&lt;BR /&gt;&lt;BR /&gt;To answer your main question without going off on other tangents:  Yes, it is possible with ndd to close connections sitting in a CLOSE_WAIT state.  &lt;BR /&gt;&lt;BR /&gt;However, CLOSE_WAIT means that there is a program on the local system that is not responding to the file close request.  BE AWARE that it is possible that you might cause that application to terminate or execute improperly.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 19 Jun 2001 19:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541621#M595226</guid>
      <dc:creator>Craig Gilmore</dc:creator>
      <dc:date>2001-06-19T19:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAIT Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541622#M595227</link>
      <description>Craig,&lt;BR /&gt;&lt;BR /&gt;   In this situation, the ports are being left in a CLOSE_WAIT state due to the fact that the application on the remote system, which opened the ports, terminates abrubtly.  This had the side effect of leaving the ports open.  Do you know the syntax for closing these ports with ndd?  It would be great appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jason V.</description>
      <pubDate>Wed, 20 Jun 2001 12:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541622#M595227</guid>
      <dc:creator>Jason VanDerMark</dc:creator>
      <dc:date>2001-06-20T12:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: CLOSE_WAIT Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541623#M595228</link>
      <description>Hi Jason:&lt;BR /&gt;&lt;BR /&gt;Have a look at Knowledge Base document #S1100002433B.  If you adjust the 'tcp_keepalive_interval' (with 'ndd') you should be able to automatically close the hung connections in a shorter time.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 20 Jun 2001 12:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/close-wait-question/m-p/2541623#M595228</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-20T12:34:27Z</dc:date>
    </item>
  </channel>
</rss>

