<?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: Stopping hung processes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610074#M35876</link>
    <description>RajMan,&lt;BR /&gt;&lt;BR /&gt;Defunct process can be quite a bother occasionally. A couple of cases in point:&lt;BR /&gt;&lt;BR /&gt;1. The defunct process has opened a connection to a database, and somebody wants to take a dump of the database. dbexport will not run if the database has any open connections.&lt;BR /&gt;&lt;BR /&gt;2. This guy uses a compilation script, which compiles his source and then 'cp -f's the fresh executable into the runtime environment. But the old exe is still running, so he gets an error.&lt;BR /&gt;&lt;BR /&gt;Times like this, there's no alternative to rebooting the box</description>
    <pubDate>Fri, 09 Nov 2001 05:56:03 GMT</pubDate>
    <dc:creator>Deepak Extross</dc:creator>
    <dc:date>2001-11-09T05:56:03Z</dc:date>
    <item>
      <title>Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610067#M35869</link>
      <description>Hi all,&lt;BR /&gt;I'm sure I answered my own question, but I need to ask because I cannot reboot this machine this week and I need to get some work done.&lt;BR /&gt;I have a file system (vxfs) called /dbs/USDEV_6 which has a few processes that were running against it doing different things: 'll', 'tar', 'll -R'&lt;BR /&gt;Somehow, thanks to lost connections via nfs or other these processes seem to be hung now.&lt;BR /&gt;A 'ps -eaf' shows the processes are in the process table and have lost their parent attachment (now assigned to init).  These processes are also 'sleeping' in 'top'.&lt;BR /&gt;I have tried 'kill'ing from several angles: 9, 3, 15, etc.  to no avail.  I cannot 'umount' the file sys for obvious reasons, and I tried stopping the processes with 'fuser -k', no help.&lt;BR /&gt;Is there any hope for me without having to reboot the system????</description>
      <pubDate>Thu, 08 Nov 2001 16:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610067#M35869</guid>
      <dc:creator>Jeffrey Davis_1</dc:creator>
      <dc:date>2001-11-08T16:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610068#M35870</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;quote //&lt;BR /&gt;&lt;BR /&gt;The only sure way to kill a defunct process is to reboot.  You may be able to kill it by changing to a single-user state and then back to your normal initial state.&lt;BR /&gt;&lt;BR /&gt;A defunct process does no harm to the system, however.  You may safely allow it to remain.&lt;BR /&gt;&lt;BR /&gt;//unquote&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2001 16:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610068#M35870</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-08T16:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610069#M35871</link>
      <description>Hi Jeffrey,&lt;BR /&gt;&lt;BR /&gt;Since all of the processes are blocked waiting on I/o they are not going to notice your signals. Normally, NFS mounts should recover if your can get the server back up. If not, well time for the big reboot.</description>
      <pubDate>Thu, 08 Nov 2001 16:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610069#M35871</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-08T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610070#M35872</link>
      <description>As you said...you have answered your own question.&lt;BR /&gt;&lt;BR /&gt;If the process is hung and now owned by '1' the system, then the only option you can do to effectively clear these up...is the dreaded reboot.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita</description>
      <pubDate>Thu, 08 Nov 2001 16:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610070#M35872</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-11-08T16:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610071#M35873</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;Here are two thread for you to look at,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=c06a036d008734c1e6/screen=ckiDisplayDocument?docId=200000019779201" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=c06a036d008734c1e6/screen=ckiDisplayDocument?docId=200000019779201&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=c06a036d008734c1e6/screen=ckiDisplayDocument?docId=200000006340650" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=c06a036d008734c1e6/screen=ckiDisplayDocument?docId=200000006340650&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Nov 2001 16:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610071#M35873</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-08T16:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610072#M35874</link>
      <description>Unfortunately you are probably force to reboot to clear them up since they are defunct.&lt;BR /&gt;&lt;BR /&gt;If it is an NFS issue sometimes things can be recovered once the NFS server is brought back up, but since these processes are already defunct, a reboot is likely the only way to clear them.</description>
      <pubDate>Thu, 08 Nov 2001 16:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610072#M35874</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-11-08T16:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610073#M35875</link>
      <description>&amp;lt;&lt;IS there="" any="" hope="" for="" me="" without="" having="" to="" reboot="" the="" system=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;   If these processes are orphaned/defunct,&lt;BR /&gt;they won't be consuming any resources, except&lt;BR /&gt;for taking up an entry in the process table.&lt;BR /&gt;So, i don't see any need for rebooting the system.  In any busy system with lots of users, one can see atleast a few defunct processes around and it is considered as "normal" to let this guys float around until the next reboot.&lt;BR /&gt;&lt;BR /&gt;   If these processes are "runaway" processes,&lt;BR /&gt;which consume CPU time very rapidly, they there is a need to kill them and infact they are killable, unlike defunct processes.&lt;BR /&gt;&lt;BR /&gt;  Based on the info you gave, my suggestion would be to just let them be as it is , unless they are hogging system resources .&lt;BR /&gt;&lt;BR /&gt;-raj&lt;/IS&gt;</description>
      <pubDate>Thu, 08 Nov 2001 16:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610073#M35875</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-08T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610074#M35876</link>
      <description>RajMan,&lt;BR /&gt;&lt;BR /&gt;Defunct process can be quite a bother occasionally. A couple of cases in point:&lt;BR /&gt;&lt;BR /&gt;1. The defunct process has opened a connection to a database, and somebody wants to take a dump of the database. dbexport will not run if the database has any open connections.&lt;BR /&gt;&lt;BR /&gt;2. This guy uses a compilation script, which compiles his source and then 'cp -f's the fresh executable into the runtime environment. But the old exe is still running, so he gets an error.&lt;BR /&gt;&lt;BR /&gt;Times like this, there's no alternative to rebooting the box</description>
      <pubDate>Fri, 09 Nov 2001 05:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610074#M35876</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2001-11-09T05:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Stopping hung processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610075#M35877</link>
      <description>Deepak, a *real* defunct ("zombie") process, i.e. "&lt;DEFUNCT&gt;" in the ps(1) output *can not* have "opened a connection to a database". Therefor its is always important to check if a process is defunct, hanging, looping, etc., because each of these are different and need different solutions. For details about real defunct/zombie processes see "zombie process" in the glossary(9) ("man glossary") manual page. &lt;BR /&gt;&lt;BR /&gt;&lt;/DEFUNCT&gt;</description>
      <pubDate>Fri, 09 Nov 2001 13:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stopping-hung-processes/m-p/2610075#M35877</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-11-09T13:43:17Z</dc:date>
    </item>
  </channel>
</rss>

