<?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 Netstat problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537028#M916093</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My HP-UX running 11.0 has found many tcp connections established. They seem not to go away even though the connection of the client is closed. Is there any command to terminate the connection if I know the connecting IP ? If it does, will it have any problem ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
    <pubDate>Wed, 06 Jun 2001 08:38:18 GMT</pubDate>
    <dc:creator>Patrick Chim</dc:creator>
    <dc:date>2001-06-06T08:38:18Z</dc:date>
    <item>
      <title>Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537028#M916093</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My HP-UX running 11.0 has found many tcp connections established. They seem not to go away even though the connection of the client is closed. Is there any command to terminate the connection if I know the connecting IP ? If it does, will it have any problem ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Wed, 06 Jun 2001 08:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537028#M916093</guid>
      <dc:creator>Patrick Chim</dc:creator>
      <dc:date>2001-06-06T08:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537029#M916096</link>
      <description>Try with lsof,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>Wed, 06 Jun 2001 08:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537029#M916096</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-06T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537030#M916099</link>
      <description>connecting IP try&lt;BR /&gt;who -R&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2001 10:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537030#M916099</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-06T10:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537031#M916100</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;In this box, you run many applications or databases ?? What applications it run ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Abel Berger</description>
      <pubDate>Wed, 06 Jun 2001 11:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537031#M916100</guid>
      <dc:creator>Abel Berger</dc:creator>
      <dc:date>2001-06-06T11:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537032#M916102</link>
      <description>what is your definition of "many" in this sutiation? also, in what state or states do you find the connections? depending on the states they will go away on their own after some period of time.</description>
      <pubDate>Thu, 07 Jun 2001 16:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537032#M916102</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2001-06-07T16:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537033#M916103</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;What state are the connections in as viewed in netstat -a / netstat -an ? &lt;BR /&gt;If they are FIN_WAIT_2 and ARPA transport PHNE_19375 or later use following hidden and unsupported ndd:&lt;BR /&gt;Check the current value:&lt;BR /&gt;&lt;BR /&gt;ndd -get /dev/tcp tcp_fin_wait_2_timeout&lt;BR /&gt;&lt;BR /&gt;EXAMPLE: Set the FIN_WAIT2 timeout to 11 minutes:&lt;BR /&gt;ndd -set /dev/tcp tcp_fin_wait_2_timeout 660000&lt;BR /&gt;&lt;BR /&gt;nddconf entry example:&lt;BR /&gt;TRANSPORT_NAME[0]=tcp&lt;BR /&gt;NDD_NAME[0]=tcp_fin_wait_2_timeout&lt;BR /&gt;NDD_VALUE[0]=660000&lt;BR /&gt;&lt;BR /&gt;If connection in some other state there are more drastic measures but don't suggest them for production systems.&lt;BR /&gt;&lt;BR /&gt;hope this helps,&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2001 14:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537033#M916103</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2001-06-12T14:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537034#M916104</link>
      <description>Hi Patrick&lt;BR /&gt;&lt;BR /&gt;It looks like this&lt;BR /&gt;&lt;BR /&gt;1. A Port gets opened as a thread of the process , so to know which one is hanging you need to find out which port is opened , which porcess it is attached to .Download lsof and install it form :&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and then run lsof , grep for the port no. it will show you where it is attached to . : netstat -an will give you the exact process for that port , and then you can go ahead and kill the process to stop that port which  has hung.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2001 14:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537034#M916104</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-06-12T14:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Netstat problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537035#M916105</link>
      <description>i thought that fin_wiat_2_timeout kludge was only required if apps did the shutdown()read()close() sort of exchange for connection teardown. otherwise, if they just call close, tcp_keepalive_detached_interval will kick-in automagically for FIN_WAIT_2 connections since they will be "detached" from the socket (thanks to the close() call)&lt;BR /&gt;&lt;BR /&gt;the "danger" with the arbitrary tcp_fin_wait_2_timeout kludge is that FIN_WAIT_2 in a non-detached state can be a perfectly valid "recieve-only" state and so the timeout could nuke what was an otherwise good connection.</description>
      <pubDate>Tue, 12 Jun 2001 16:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/netstat-problem/m-p/2537035#M916105</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2001-06-12T16:14:46Z</dc:date>
    </item>
  </channel>
</rss>

