<?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: ssh sessions not terminating in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118247#M540440</link>
    <description>On checking the syslog i got these errors&lt;BR /&gt;&lt;BR /&gt;fatal: mmap(1310720): Not enough space</description>
    <pubDate>Thu, 20 Dec 2007 07:16:12 GMT</pubDate>
    <dc:creator>sdass</dc:creator>
    <dc:date>2007-12-20T07:16:12Z</dc:date>
    <item>
      <title>ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118241#M540434</link>
      <description>We have strage problem in ssh,The ssh conection are in hang state.When we tried to connect the through ssh the conection got refused on checking in the server we found more than 1500 connection in hang state&lt;BR /&gt;&lt;BR /&gt;who -u is giving more than 60 Hanged user conection which we are not able to kill&lt;BR /&gt;&lt;BR /&gt;Please help me</description>
      <pubDate>Tue, 18 Dec 2007 14:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118241#M540434</guid>
      <dc:creator>sdass</dc:creator>
      <dc:date>2007-12-18T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118242#M540435</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;At this point to clear your system resources you will probably need to reboot.&lt;BR /&gt;&lt;BR /&gt;Try kill -9 if that fails plan for some downtime.&lt;BR /&gt;&lt;BR /&gt;I believe there will be evidience of the problem cause here:&lt;BR /&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 18 Dec 2007 15:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118242#M540435</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-12-18T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118243#M540436</link>
      <description>/sbin/init.d/secsh stop and then start.&lt;BR /&gt;&lt;BR /&gt;Can you describe your environment?&lt;BR /&gt;&lt;BR /&gt;Jacques</description>
      <pubDate>Wed, 19 Dec 2007 14:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118243#M540436</guid>
      <dc:creator>Jacques Carriere</dc:creator>
      <dc:date>2007-12-19T14:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118244#M540437</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Restarting ssh probably won't fix the problem, but it won't hurt either so give it a try.&lt;BR /&gt;&lt;BR /&gt;One of the more common reasons ssh appears to hang is the user has kicked off a X11 program.  ssh will keep the terminal open until all the child processes are killed.  You *should* be able to kill -9 the ssh session through to get rid of those.&lt;BR /&gt;&lt;BR /&gt;If kill -9 isn't working, then you have a more serious issue that'll require some investigation.  &lt;BR /&gt;&lt;BR /&gt;First, see if you can identify what the ssh sessions are running by tracing the pids.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep ssh, check the pid:&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep ${pid}, find any children processes.&lt;BR /&gt;&lt;BR /&gt;Kill those if you can; otherwise, note the program.&lt;BR /&gt;&lt;BR /&gt;As others have noted, if kill -9 isn't working, you'll probably have to reboot.  If that's the case, having the information on what processes are causing the hang will give you a starting point.&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 19 Dec 2007 14:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118244#M540437</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-12-19T14:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118245#M540438</link>
      <description>I am not able to kill the process, Last time we rebooted the servers,since this is a production setup we cannot take a reboot every time&lt;BR /&gt;&lt;BR /&gt;Is there any parameter to be checked</description>
      <pubDate>Thu, 20 Dec 2007 05:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118245#M540438</guid>
      <dc:creator>sdass</dc:creator>
      <dc:date>2007-12-20T05:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118246#M540439</link>
      <description>Can you check by lsof which process is using socket 22(if u have different socket find that)...use kill -9 to kill that process.&lt;BR /&gt;If you cant take downtime try to kill all the hanged session by kill -9&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
      <pubDate>Thu, 20 Dec 2007 06:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118246#M540439</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2007-12-20T06:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: ssh sessions not terminating</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118247#M540440</link>
      <description>On checking the syslog i got these errors&lt;BR /&gt;&lt;BR /&gt;fatal: mmap(1310720): Not enough space</description>
      <pubDate>Thu, 20 Dec 2007 07:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-sessions-not-terminating/m-p/4118247#M540440</guid>
      <dc:creator>sdass</dc:creator>
      <dc:date>2007-12-20T07:16:12Z</dc:date>
    </item>
  </channel>
</rss>

