<?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: killing sockets in red hat linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341312#M86133</link>
    <description>a socket in close_wait without a process?? I'd like to see this.</description>
    <pubDate>Mon, 26 Jul 2004 14:50:53 GMT</pubDate>
    <dc:creator>Olivier Drouin</dc:creator>
    <dc:date>2004-07-26T14:50:53Z</dc:date>
    <item>
      <title>killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341306#M86127</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;I would like to know how can I kill/remove a socket in linux.&lt;BR /&gt;&lt;BR /&gt;In HP-UX I can use ndd to do this, but linux doesn't have ndd.&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;Oved</description>
      <pubDate>Mon, 26 Jul 2004 12:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341306#M86127</guid>
      <dc:creator>Oved</dc:creator>
      <dc:date>2004-07-26T12:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341307#M86128</link>
      <description>What do you mean by "kill/remove" a socket ?&lt;BR /&gt;Do you want to close an open port ?&lt;BR /&gt;&lt;BR /&gt;For me ndd helps tuning some network parameters. This can be an equivalent to Linux sysctl, which offers to tune kernel parameter, and, in your case, network ones.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2004 12:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341307#M86128</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-07-26T12:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341308#M86129</link>
      <description>Hey,&lt;BR /&gt;&lt;BR /&gt;I mean to close an open socket...&lt;BR /&gt;ndd can do it in HP-UX&lt;BR /&gt;&lt;BR /&gt;(There are applications with a "bug" that causes sockets in "CLOSE_WAIT" state to remain in the system, and it causes problems with that applications. )&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;Oved</description>
      <pubDate>Mon, 26 Jul 2004 12:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341308#M86129</guid>
      <dc:creator>Oved</dc:creator>
      <dc:date>2004-07-26T12:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341309#M86130</link>
      <description>One way to do this could be &lt;BR /&gt;&lt;BR /&gt;ex: (from root)&lt;BR /&gt;#lsof -i | grep "CLOSE_WAIT"&lt;BR /&gt;# mozilla-b  5914  himself  3u  IPv4  49447  TCP 10.22.55.11:ssh-&amp;gt;whatever.dom:32798 (CLOSE_WAIT)&lt;BR /&gt;&lt;BR /&gt;then you could use some form of KILL on pid 5914 &lt;BR /&gt;&lt;BR /&gt;Hope this help you out.&lt;BR /&gt;&lt;BR /&gt;Jean-Pierre&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2004 13:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341309#M86130</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2004-07-26T13:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341310#M86131</link>
      <description>It doesn't help so much, because in the cases I want to solve the socket is hang without a process.&lt;BR /&gt;&lt;BR /&gt;I am looking for a solution just like ndd in HP-UX.&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;Oved</description>
      <pubDate>Mon, 26 Jul 2004 14:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341310#M86131</guid>
      <dc:creator>Oved</dc:creator>
      <dc:date>2004-07-26T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341311#M86132</link>
      <description>Since ndd does not exist in Linux, a few wild suggestions:&lt;BR /&gt;&lt;BR /&gt;1) Find the source code for ndd, port it and compile it in Linux&lt;BR /&gt;2) try the binaries and see if they work.&lt;BR /&gt;3) Write a program in c that does what you want.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 26 Jul 2004 14:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341311#M86132</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-07-26T14:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341312#M86133</link>
      <description>a socket in close_wait without a process?? I'd like to see this.</description>
      <pubDate>Mon, 26 Jul 2004 14:50:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341312#M86133</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2004-07-26T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: killing sockets in red hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341313#M86134</link>
      <description>the ndd thing in HP-UX is a kludge that should only be used by the truly desparate until the bug(s) in the application(s) can be fixed.  As such, I'm not terribly surprised that there might not be a ready replacement in Linux.  If someone becomes "dependent" on the ndd connection closing stuff, they are only adding little to little to eventually have a big pile.&lt;BR /&gt;&lt;BR /&gt;CLOSE_WAIT without a process would indeed be a neat trick, and would imply a bug in the transport/kernel.  however, unless I read too fast, I think there wasn't mention of the process going away, just lingering and leaving connections in CLOSE_WAIT (bug 1) and then if I extrapolate, leaving things unable to restart (bug 2 - not setting SO_REUSEADDR - but that one is a WAG)</description>
      <pubDate>Mon, 26 Jul 2004 21:46:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/killing-sockets-in-red-hat-linux/m-p/3341313#M86134</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2004-07-26T21:46:50Z</dc:date>
    </item>
  </channel>
</rss>

