<?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: Sombie Process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558218#M29014</link>
    <description>Hi John and Abel, thank's for your responses. &lt;BR /&gt;The parent process of the zombie is "1", and With "ps -el" the state of this process is "T", but when I do a "ps -fea" there are many iqual procees in the output command with different PID, and don?t die whith the kill command.&lt;BR /&gt;Moreover, with the: &lt;BR /&gt;tusc -p PID&lt;BR /&gt;the message is: &lt;BR /&gt;"tusc:retrying attach to process 29349 (process name): Interrupted system call"&lt;BR /&gt;What can I do for kill this process?&lt;BR /&gt;Thank's Masters&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 27 Jul 2001 21:09:15 GMT</pubDate>
    <dc:creator>Jose Luis</dc:creator>
    <dc:date>2001-07-27T21:09:15Z</dc:date>
    <item>
      <title>Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558215#M29011</link>
      <description>Hello everybody:&lt;BR /&gt;(HP-UX 11.0)&lt;BR /&gt;I have a zombie process and I try kill it with kill -9, kill -2, etc. but those proccess don?t die. Probably being held open by a tcp connection, i'm afraid. I use lsof to see which IP it is: &lt;BR /&gt;&lt;BR /&gt;lsof -i | grep 10257 &lt;BR /&gt;&lt;BR /&gt;How can I use the ndd command to close the tcp connection?&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;PD: Sorry for my poor English&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jul 2001 19:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558215#M29011</guid>
      <dc:creator>Jose Luis</dc:creator>
      <dc:date>2001-07-27T19:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558216#M29012</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;What is the parent process of the zombie?&lt;BR /&gt;&lt;BR /&gt;The 'ndd' command is for viewing and setting network tuneable parameters.  It won't help you terminate a TCP connection.  Have you been able to do a 'netstat -a' command and see the state of the connection?  Maybe it will timeout after while.&lt;BR /&gt;&lt;BR /&gt;Your English is fine!&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jul 2001 20:12:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558216#M29012</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-27T20:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558217#M29013</link>
      <description>Hi Jose, &lt;BR /&gt;&lt;BR /&gt;Have a look at Knowledge Base document #S1100002433B. If you adjust the 'tcp_keepalive_interval' and others parameters (with 'ndd') you should be able to automatically close the hung connections in a shorter time. &lt;BR /&gt;&lt;BR /&gt;I hope this help !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Abel Berger&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jul 2001 20:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558217#M29013</guid>
      <dc:creator>Abel Berger</dc:creator>
      <dc:date>2001-07-27T20:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558218#M29014</link>
      <description>Hi John and Abel, thank's for your responses. &lt;BR /&gt;The parent process of the zombie is "1", and With "ps -el" the state of this process is "T", but when I do a "ps -fea" there are many iqual procees in the output command with different PID, and don?t die whith the kill command.&lt;BR /&gt;Moreover, with the: &lt;BR /&gt;tusc -p PID&lt;BR /&gt;the message is: &lt;BR /&gt;"tusc:retrying attach to process 29349 (process name): Interrupted system call"&lt;BR /&gt;What can I do for kill this process?&lt;BR /&gt;Thank's Masters&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jul 2001 21:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558218#M29014</guid>
      <dc:creator>Jose Luis</dc:creator>
      <dc:date>2001-07-27T21:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558219#M29015</link>
      <description>If the parent process ID is one (init), there probably isn't much hope of killing the zombie process.  It will take a reboot to get rid of it.  What is the name of the zombie process?  Is it part of an application or is it a Unix system process?  If the zombie is taking little or no CPU time you will probably be fine with it until your next reboot.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jul 2001 00:08:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558219#M29015</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-28T00:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558220#M29016</link>
      <description>Hi Jose,&lt;BR /&gt;&lt;BR /&gt;Look, Zombie process are those ones that when they finish working ( normal or abnormal exit ) they didn't find their parents executing a wait() function( waiting ) for them. &lt;BR /&gt;&lt;BR /&gt;That's mean, consider a process P0 is doing a fork ( creates a copy of himeself ). The copy process is P1 called the child process ( and P0 is the parent process of P1). &lt;BR /&gt;&lt;BR /&gt;If P1 finish his work ( normal or abnormal exit ) and P0 is still live and not listening to him with a wait() function. So , P1 became a ZOMBIE process. &lt;BR /&gt;&lt;BR /&gt;Booting is the only manner by which we can kill Zombies. Zombies are "Neither live nor Died process!!! "&lt;BR /&gt;&lt;BR /&gt;If you need any help to avoid this miss programming, I have the solution just append your request . &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Have a look in the following book : &lt;BR /&gt;&lt;BR /&gt;Advanced Programming in the UNIX Environment. &lt;BR /&gt;Addison-Wesley &lt;BR /&gt;W. Richard Stevens. &lt;BR /&gt;Pages 195 and 196 &lt;BR /&gt;&lt;BR /&gt;The manner by which the Unix model avoid that is : &lt;BR /&gt;&lt;BR /&gt;P0 forks twice , &lt;BR /&gt;&lt;BR /&gt;P0 fork and gives P1 &lt;BR /&gt;P1 fork and gives P2 &lt;BR /&gt;&lt;BR /&gt;1.The first instruction of P2 is to loop till getppid() returns 1 (getppid means GetParentProcessIdentification, P1 executes an exit() to allow that P2 be inhereted by init process "PID 1"). &lt;BR /&gt;2. The first instruction of P1 is exit() function. &lt;BR /&gt;3. P2 became ORPHAN. &lt;BR /&gt;4. init process become the actual parent of P2. &lt;BR /&gt;5. The function getppid() returns 1 now for P2 process. &lt;BR /&gt;6. The P2 process executes its task. &lt;BR /&gt;7. P2 terminates normally or abnormally. &lt;BR /&gt;8. init process executes an immediate wait() function. &lt;BR /&gt;9. P2 died without being ZAMBIE. &lt;BR /&gt;&lt;BR /&gt;If you follow this protocol, your application will never have zombies processes. &lt;BR /&gt;&lt;BR /&gt;Hope this explain the issue. &lt;BR /&gt;Wainting for any discussion. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Magdi &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jul 2001 09:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558220#M29016</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-07-30T09:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558221#M29017</link>
      <description>Hi again Jose,&lt;BR /&gt;&lt;BR /&gt;Zombies appear when developpers miss program applications.&lt;BR /&gt;&lt;BR /&gt;You have to have a site with them to explain the steps by which a good programming must be to avoid ZOMBIES, and you key sentence is :&lt;BR /&gt;&lt;BR /&gt;"In a client/server model under unix, what developpers do to avoid ZOMBIES ?".&lt;BR /&gt;&lt;BR /&gt;Whatever the response is, map it on the previous steps to fetch out at which moment they(developpers) generate ZOMBIES .&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Mon, 30 Jul 2001 09:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558221#M29017</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-07-30T09:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558222#M29018</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just some more info: zombies do not decrease performance, theu do noy use CPU time or memory. They do however take up a process slot so when there are many the proces table (maximum number of processes) will fill up.</description>
      <pubDate>Mon, 30 Jul 2001 14:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558222#M29018</guid>
      <dc:creator>Mark van Hassel</dc:creator>
      <dc:date>2001-07-30T14:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sombie Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558223#M29019</link>
      <description>Thanks everybody for your help!!!</description>
      <pubDate>Mon, 30 Jul 2001 15:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sombie-process/m-p/2558223#M29019</guid>
      <dc:creator>Jose Luis</dc:creator>
      <dc:date>2001-07-30T15:28:11Z</dc:date>
    </item>
  </channel>
</rss>

