<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Coding Hindi</title>
    <description>The latest articles on DEV Community by Coding Hindi (@codinghindi).</description>
    <link>https://dev.to/codinghindi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F864115%2F0e89f6d1-7516-43a6-9a30-48416712f4ef.png</url>
      <title>DEV Community: Coding Hindi</title>
      <link>https://dev.to/codinghindi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codinghindi"/>
    <language>en</language>
    <item>
      <title>Zombie Process in Operating Systems</title>
      <dc:creator>Coding Hindi</dc:creator>
      <pubDate>Sat, 06 Aug 2022 16:54:07 +0000</pubDate>
      <link>https://dev.to/codinghindi/zombie-process-in-operating-systems-74o</link>
      <guid>https://dev.to/codinghindi/zombie-process-in-operating-systems-74o</guid>
      <description>&lt;h2&gt;
  
  
  Zombie process in Operating Systems
&lt;/h2&gt;

&lt;p&gt;When a Parent process creates child process, at the time of termination it calls a system call wait();&lt;/p&gt;

&lt;p&gt;If a parent process terminates itself without calling wait();&lt;br&gt;
This means the OS deallocated the resources to the child process but it's entry in the process table remains.&lt;br&gt;
So, this is a &lt;strong&gt;Orphan process&lt;/strong&gt; and it's called &lt;strong&gt;Zombie process&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codinghindi.in/how-does-https-work/"&gt;How does HTTPS work?&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution of Zombie Process
&lt;/h2&gt;

&lt;p&gt;Linux &amp;amp; UNIX OS address this process by assigning the &lt;em&gt;init&lt;/em&gt; process as new parent to the child process.&lt;br&gt;
And this invokes wait(); for it.&lt;br&gt;
The entry table releases the entry of that zombie process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Init&lt;/strong&gt; - root process in UNIX &amp;amp; Linux hierarchy&lt;/p&gt;

&lt;p&gt;&lt;a href="https://codinghindi.in/what-is-operating-system-and-its-5-structures/"&gt;What is Operating System and its 5 Structures?&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>computerscience</category>
      <category>operatingsystem</category>
    </item>
  </channel>
</rss>
