<?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: zombie process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819960#M780883</link>
    <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Go through this link, it should help you &lt;A href="http://en.wikipedia.org/wiki/Zombie_process" target="_blank"&gt;http://en.wikipedia.org/wiki/Zombie_process&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Sun, 09 Jul 2006 09:13:31 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-07-09T09:13:31Z</dc:date>
    <item>
      <title>zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819949#M780872</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I observed a defuct (zombie) process.&lt;BR /&gt;$ ps -ef|grep defunct&lt;BR /&gt;    root 27565 27437 234  Jun 14  ttypa    31788:23 &lt;DEFUNCT&gt;&lt;BR /&gt;sksonkar 26774 26050  0 21:42:59 ttyp7     0:00 grep defunct&lt;BR /&gt;&lt;BR /&gt;How to find out which application or program caused this zombie process ?&lt;BR /&gt;&lt;BR /&gt;Is there a way to kill this process ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv&lt;/DEFUNCT&gt;</description>
      <pubDate>Fri, 07 Jul 2006 23:43:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819949#M780872</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-07T23:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819950#M780873</link>
      <description>At this point, the only resource the process is consuming is a slot in the kernel's process table. You have one clue and that is the PPID (parent PID) so you might try a ps -p 27437 -f to see if this parent process still exists.</description>
      <pubDate>Fri, 07 Jul 2006 23:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819950#M780873</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-07T23:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819951#M780874</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It does not look like a zombie, I hope you can kill it.&lt;BR /&gt;In order to see its parent look at PID=27437 and its parents.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 07 Jul 2006 23:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819951#M780874</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-07-07T23:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819952#M780875</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;You have the PPID, its easy to find the root cause. Use, # ps -p &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 07 Jul 2006 23:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819952#M780875</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-07-07T23:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819953#M780876</link>
      <description>Here is the output:&lt;BR /&gt;&lt;BR /&gt;$ ps -p 27437 -f &lt;BR /&gt;     UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;    root 27437 27402  0  Jun 14  ttypa     0:00 ksh&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;Is there any clue with this output ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Sat, 08 Jul 2006 00:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819953#M780876</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-08T00:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819954#M780877</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'd like to see parents of PID=27402, but it looks like you have a login session on /dev/ttypa and the defunct process has been ran from it. &lt;BR /&gt;Did you try to kill it from the parent session ? What about kill -9 ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Sat, 08 Jul 2006 00:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819954#M780877</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-07-08T00:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819955#M780878</link>
      <description>Try to kill the parent process. It's a bit unusual having a shell session open for nearly a month. I suspect all that killing the parent is going to do is change the PPID of the parent to 1 (init).</description>
      <pubDate>Sat, 08 Jul 2006 20:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819955#M780878</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-08T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819956#M780879</link>
      <description>I tried to kill parent process but is not getting killed. Also its ppid did not get converted to 1. BTW, i heard zombie process is a process whose parent dies before the child. But i am not able to understand how the parent process is alive in this case ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Sat, 08 Jul 2006 23:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819956#M780879</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-08T23:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819957#M780880</link>
      <description>It is possible that this process (27565) was started by ANOTHER process whose parent was the '-ksh' process.  Thus, when the original parent of this process died, it inherited the '-ksh' process as its parent.</description>
      <pubDate>Sat, 08 Jul 2006 23:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819957#M780880</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-07-08T23:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819958#M780881</link>
      <description>Appreciate more thoughts of HPUX gurus :-)) &lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;Shiv</description>
      <pubDate>Sun, 09 Jul 2006 00:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819958#M780881</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-09T00:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819959#M780882</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Zombies hold resources such as memory but don't consume new resources.&lt;BR /&gt;&lt;BR /&gt;So long as there are not a lot of new zombies being created, your system can remain stable with a zombie process. Sometimes a zombie may have a critical file handle or somemthing on hold leaving you no choice but to deal with it.&lt;BR /&gt;&lt;BR /&gt;There comes a point in every zombie's life where it must die. That is usually accomplished with a system boot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 09 Jul 2006 01:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819959#M780882</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-09T01:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819960#M780883</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;Go through this link, it should help you &lt;A href="http://en.wikipedia.org/wiki/Zombie_process" target="_blank"&gt;http://en.wikipedia.org/wiki/Zombie_process&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Sun, 09 Jul 2006 09:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819960#M780883</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-07-09T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819961#M780884</link>
      <description>Hi Shiv,&lt;BR /&gt;To kill this type, you would have to do a kill -9 of PID AND PPID at once...&lt;BR /&gt;It is not (yet?) a true zombie (where PPID is 1...) so you stand a chance of killing it, what srupises me here is the fact that is has still a tty attached (ttypa)... where true zombie would be marked "?" I believe like Victor F. that you would have to trace PPIDs, it was mabe partt of a sequence of processes...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Sun, 09 Jul 2006 12:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819961#M780884</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-07-09T12:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819962#M780885</link>
      <description>Actually zombie processes consume no resources such as memory; they only occupy a slot in the kernel's process table and the only real impact would occur if the process table were so full that the system could no longer fork() to spawn new processes.</description>
      <pubDate>Sun, 09 Jul 2006 13:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819962#M780885</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-09T13:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819963#M780886</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;It might be easier to see the ancestry of this process thusly:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -efH -o pid,ppid,state,tty,args|grep ttypa &lt;BR /&gt;&lt;BR /&gt;You can interpret the 'state' field from the 'ps(1)' manpages.  A "Z" denotes a dead (defunct, or zombie) process.&lt;BR /&gt;&lt;BR /&gt;A zombie is already dead and cannot be killed, even with the kill-of-last-resort ('kill -9').&lt;BR /&gt;&lt;BR /&gt;In your 'ps' output as originally posted, I'd be more interested in the process's parent --- 27437.  It may be that *that* process is waiting for a signal or resource so that *it* can continue and thus reap its (defunct) child.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 09 Jul 2006 16:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819963#M780886</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-07-09T16:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819964#M780887</link>
      <description>Here is the output:&lt;BR /&gt;&lt;BR /&gt;$ UNIX95= ps -efH -o pid,ppid,state,tty,args|grep ttypa &lt;BR /&gt;27437 27402 S ttypa        ksh&lt;BR /&gt;27565 27437 Z ttypa          &lt;DEFUNCT&gt;&lt;BR /&gt;18104 18088 S ttypb          grep ttypa&lt;BR /&gt;$ &lt;BR /&gt;&lt;/DEFUNCT&gt;</description>
      <pubDate>Sun, 09 Jul 2006 16:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819964#M780887</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-09T16:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819965#M780888</link>
      <description>Hi SHiv:&lt;BR /&gt;&lt;BR /&gt;As Clay noted, try killing the *parent* process.  I'd use:&lt;BR /&gt;&lt;BR /&gt;# kill -1 27437&lt;BR /&gt;# kill -15 27437&lt;BR /&gt;# kill -9 27437&lt;BR /&gt;&lt;BR /&gt;...in that order, testing for presence of the process after each step.  I also agree with Clay insofar as killing the your process's parent (27437) may only cause your defunct process to be inherited by 'init'.&lt;BR /&gt;&lt;BR /&gt;If your process still persists, repost the process hierarchy I first had you do.&lt;BR /&gt;&lt;BR /&gt;Zombie processes are actually a *normal* transition state in a process's lifetime, although, they are fleeting when correct programming practices are followed.&lt;BR /&gt;&lt;BR /&gt;It would be useful to know what HP-UX release this system is running, too.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 09 Jul 2006 17:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819965#M780888</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-07-09T17:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819966#M780889</link>
      <description>The command #kill -1 27437 worked.&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX BigGuy05 B.11.11 U 9000/800 1189444676 unlimited-user license&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;Could you please explain how it killed because i tried killing with $kill -9 pid/ppid and it didn't work earlier ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Sun, 09 Jul 2006 18:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819966#M780889</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-09T18:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819967#M780890</link>
      <description>What you describe is simply not possible. kill -9 cannot be ignored nor can it be caught (ie, given a signal handler other than the default) so there is no way that a kill -9 would be ignored and yet a kill -1 would be acted upon. However, you added one little clue that does suggest how this impossible situation becomes possible:&lt;BR /&gt;&lt;BR /&gt;You said that $kill -9 PID fails but #kill -1 PID worked. Note the '$' and '#' (presumably ${PS1}) prompts; you did one as a regular user and the other as super-user. As a regular user, you did not have permission to signal a process that you did not own but as a super-user you could send such a signal.</description>
      <pubDate>Sun, 09 Jul 2006 18:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819967#M780890</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-07-09T18:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: zombie process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819968#M780891</link>
      <description>Clay, &lt;BR /&gt;&lt;BR /&gt;You are right. Now i can recall that i had tried to kill with normal user id and not as a super user.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shiv</description>
      <pubDate>Sun, 09 Jul 2006 20:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/zombie-process/m-p/3819968#M780891</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-07-09T20:11:12Z</dc:date>
    </item>
  </channel>
</rss>

