<?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: unable to kill -9 for zombie process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755330#M388618</link>
    <description>&lt;!--!*#--&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;I red the "Zombie process utilising 99% of the CPU issue".&lt;BR /&gt;&lt;BR /&gt;How can I install the script?&lt;BR /&gt;&lt;BR /&gt;What location?&lt;BR /&gt;&lt;BR /&gt;Can it harm the system?&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;&lt;BR /&gt;Yaron</description>
    <pubDate>Sun, 20 Feb 2011 09:49:55 GMT</pubDate>
    <dc:creator>Yarok</dc:creator>
    <dc:date>2011-02-20T09:49:55Z</dc:date>
    <item>
      <title>unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755328#M388616</link>
      <description>&lt;!--!*#--&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I tried to kill a zombie process but it could not stopted (top -&amp;gt; kill -9 PID).&lt;BR /&gt;&lt;BR /&gt;top indicated of 5 zombie and several sleep processes.&lt;BR /&gt;&lt;BR /&gt;The zombie process belong to other user.&lt;BR /&gt;I tried to rlogin to this user but it didnt work.&lt;BR /&gt;&lt;BR /&gt;I tried to find an equivalent command pstree (in order to kill the parent) but I count found.&lt;BR /&gt;&lt;BR /&gt;Please advice,&lt;BR /&gt;&lt;BR /&gt;Yaron</description>
      <pubDate>Sun, 20 Feb 2011 07:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755328#M388616</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-20T07:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755329#M388617</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There is a 'pstree' script for HP-UX, see attachment... Hope that will help you!&lt;BR /&gt;&lt;BR /&gt;BTW, there are quite a few threads on ITRC that discuss killing zombie processes, have a look at for example:&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Zombie-process-utilising-99-of-the-CPU/m-p/4722622#M385884" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Zombie-process-utilising-99-of-the-CPU/m-p/4722622#M385884&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2011 19:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755329#M388617</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-09-02T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755330#M388618</link>
      <description>&lt;!--!*#--&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;I red the "Zombie process utilising 99% of the CPU issue".&lt;BR /&gt;&lt;BR /&gt;How can I install the script?&lt;BR /&gt;&lt;BR /&gt;What location?&lt;BR /&gt;&lt;BR /&gt;Can it harm the system?&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;&lt;BR /&gt;Yaron</description>
      <pubDate>Sun, 20 Feb 2011 09:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755330#M388618</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-20T09:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755331#M388619</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It is just a shell script.  So just put it in /tmp (for example), rename it to 'ptree', give it executable permissions and run the script.  See a copy/past from the script's code below:&lt;BR /&gt;&lt;BR /&gt;# SYNOPSIS&lt;BR /&gt;#    ptree [-n] [pid]&lt;BR /&gt;#    ptree [-n] [pid] [level] [datafile]&lt;BR /&gt;#&lt;BR /&gt;# DESCRIPTION&lt;BR /&gt;#    This command will print the process tree for the&lt;BR /&gt;#    process identified by pid.  When called by the user,&lt;BR /&gt;#    only the first format shown should be used.  If the&lt;BR /&gt;#    process ID (pid) is not passed, process 1 is assumed.&lt;BR /&gt;#&lt;BR /&gt;#    The second format of this command is only used when&lt;BR /&gt;#    this command calls itself recursively to print the next&lt;BR /&gt;#    level of the process tree.&lt;BR /&gt;#&lt;BR /&gt;#    -n   Do not recurse&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I found the script in another thread on ITRC and it looks harmless to me.  But just have a look at the code yourself if you have any doubts.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak</description>
      <pubDate>Sun, 20 Feb 2011 11:09:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755331#M388619</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-02-20T11:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755332#M388620</link>
      <description>You can't kill zombies, you can only kill the zombie master.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;in order to kill the parent&lt;BR /&gt;&lt;BR /&gt;You can use "ps -fp PID" to find the zombie master.&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Feb 2011 11:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755332#M388620</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-02-20T11:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755333#M388621</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I put is on tmp&lt;BR /&gt;change the name for ptree&lt;BR /&gt;#chmod 777 ptree&lt;BR /&gt;#ptree&lt;BR /&gt;ptree: command  not found&lt;BR /&gt;&lt;BR /&gt;then I tried to move it to .sh&lt;BR /&gt;# mv ptree ptree.sh&lt;BR /&gt;#ptree.sh&lt;BR /&gt;/sbin/sh: ptree: not found.&lt;BR /&gt;&lt;BR /&gt;What did I miss?&lt;BR /&gt;BR,&lt;BR /&gt;&lt;BR /&gt;Yaron</description>
      <pubDate>Sun, 20 Feb 2011 12:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755333#M388621</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-20T12:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755334#M388622</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Try (depending what the name of the script now is):&lt;BR /&gt;# ./ptree&lt;BR /&gt;or&lt;BR /&gt;# ./ptree.sh&lt;BR /&gt;&lt;BR /&gt;Or just specify the full path:&lt;BR /&gt;# /tmp/ptree&lt;BR /&gt;or&lt;BR /&gt;# /tmp/ptree.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sangilak</description>
      <pubDate>Sun, 20 Feb 2011 12:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755334#M388622</guid>
      <dc:creator>sangilak</dc:creator>
      <dc:date>2011-02-20T12:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755335#M388623</link>
      <description>you cant kill a zombie.. It is already dead.. It is a process table entry that is not being updated.  For some reason the parent process has not cleared that entry.  &lt;BR /&gt;&lt;BR /&gt;Some kind of bad code.&lt;BR /&gt;&lt;BR /&gt;It is not using 99% of the cpu.. look at your cpu utilization in top.  &lt;BR /&gt;&lt;BR /&gt;ONly way to get rid of zombies is to reboot if they do not go away after a few minutes.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Feb 2011 01:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755335#M388623</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2011-02-21T01:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755336#M388624</link>
      <description>Ha, ha... that's a good one.&lt;BR /&gt;A zombie who uses &amp;gt;90% CPU...&lt;BR /&gt;Is it dead or is it dead...&lt;BR /&gt;&lt;BR /&gt;Sleep processes - yes it is normal that some processes have to wait for different events to take place.&lt;BR /&gt;&lt;BR /&gt;rlogin - require specific setup of trust between your users. Normally you can not do rlogin (remote login) to users.&lt;BR /&gt;If you ar root user on the same machine you could use the su command to "login" as this user 'su user' or 'su - user' see man su &lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Mon, 21 Feb 2011 04:58:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755336#M388624</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2011-02-21T04:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755337#M388625</link>
      <description>&amp;gt;Emil: It is not using 99% of the CPU. look at your CPU utilization in top.&lt;BR /&gt;&lt;BR /&gt;That's the problem, top gets it wrong.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Only way to get rid of zombies is to reboot&lt;BR /&gt;&lt;BR /&gt;That's not the only way.  If you kill the zombie master, they will be reaped.</description>
      <pubDate>Mon, 21 Feb 2011 18:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755337#M388625</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-02-21T18:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755338#M388626</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Every process or service has a "graceful" way of exitting and talking in terms of process, a zombie in any terminology would always mean "dead" but not as harmful as a "ghost" or a "living dead" in the sense that it's just " a memory release" that happened in a weird fashion leaving an entry in the "process table", a table that was rigid on 8.x but is now called as a "process list" as it is no more rigid.&lt;BR /&gt;&lt;BR /&gt;The "graceful reboot", does this in the clean fashion and gets rid of this "defunct" stuff. Or as mentioned kill the master zombie to get rid of the dead.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ismail Azad</description>
      <pubDate>Tue, 22 Feb 2011 08:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755338#M388626</guid>
      <dc:creator>Ismail Azad</dc:creator>
      <dc:date>2011-02-22T08:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755339#M388627</link>
      <description>&lt;!--!*#--&gt;Well. it seems that I found the reason for the zombie effect.&lt;BR /&gt;I reconstructed it and the same senario, including ~100% cpu process occured.&lt;BR /&gt;&lt;BR /&gt;I used a local script that "bring down" the inner software and kills all processes which involved with it.&lt;BR /&gt;&lt;BR /&gt;Then I reconstructed it again, but this time I used the ptree script (for HP UX - shows all process and thier parents). I found the parent zombie process that called &lt;DEFUNCT&gt; then I ps -ef | grep defunct to kill -9 it.&lt;BR /&gt;The zombie disappeared but still the cpu process was very busy (~100%).&lt;BR /&gt;&lt;BR /&gt;Shoulnt the zombie killing necessarily low the cpu ?&lt;BR /&gt;Any suggestion?&lt;/DEFUNCT&gt;</description>
      <pubDate>Wed, 23 Feb 2011 14:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755339#M388627</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-23T14:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755340#M388628</link>
      <description>&amp;gt;&amp;gt;but still the cpu process was very busy (~100%)&lt;BR /&gt;&lt;BR /&gt;If you invoke 'top' or 'glance' what is the process that is using the most CPU?  Is it related to the zombie or is it something completely different.</description>
      <pubDate>Wed, 23 Feb 2011 14:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755340#M388628</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2011-02-23T14:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755341#M388629</link>
      <description>&lt;!--!*#--&gt;I use the 'top' command and the cpu using process rising up to 100% (and more... how can it be?) as per time factor (minutes).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is it related to the zombie or is it something completely different.&lt;BR /&gt;&lt;BR /&gt;I run the top parallel to the problematic process (on other HP machine) and most of time I saw the zombies (they are also rises as a factor of time). &lt;BR /&gt;When I bring down the process the cpu usage immediately goes back to its normal level and the zombies disapear, except of 1 the alwas exists (I dont know how or who is its parent).</description>
      <pubDate>Thu, 24 Feb 2011 06:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755341#M388629</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-24T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755342#M388630</link>
      <description>&amp;gt;(and more... how can it be?)&lt;BR /&gt;&lt;BR /&gt;Using threads.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;When I bring down the process the CPU usage immediately goes back to its normal level and the zombies disappear,&lt;BR /&gt;&lt;BR /&gt;Well, you killed the zombie master.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;except of 1 the always exists (I don't know how or who is its parent).&lt;BR /&gt;&lt;BR /&gt;A child of ia64_corehw?</description>
      <pubDate>Thu, 24 Feb 2011 10:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755342#M388630</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-02-24T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755343#M388631</link>
      <description>&lt;!--!*#--&gt;Yes, I can see that ia64_corehw is runnig.&lt;BR /&gt;what is this process (monitoring the HW)?&lt;BR /&gt;Why its child is zombie?&lt;BR /&gt;&lt;BR /&gt;BTW, I noticed that is exists on other HP machine.</description>
      <pubDate>Thu, 24 Feb 2011 11:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755343#M388631</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-24T11:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755344#M388632</link>
      <description>&amp;gt;I can see that ia64_corehw is running.&lt;BR /&gt;&amp;gt;what is this process (monitoring the HW)?&lt;BR /&gt;&lt;BR /&gt;This is a known problem in the diagnostic software, fixed on 11.31.</description>
      <pubDate>Thu, 24 Feb 2011 11:41:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755344#M388632</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-02-24T11:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: unable to kill -9 for zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755345#M388633</link>
      <description>&lt;!--!*#--&gt;thank you all for the information.</description>
      <pubDate>Thu, 24 Feb 2011 13:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-kill-9-for-zombie-process/m-p/4755345#M388633</guid>
      <dc:creator>Yarok</dc:creator>
      <dc:date>2011-02-24T13:01:06Z</dc:date>
    </item>
  </channel>
</rss>

