How can I kill a zombie process whose parent is PID = 0?
<p>Often, when running LLDB on OSX, the debugger will sporadically crash (this just seems to be the nature of LLDB). When this happens, I get a zombie process (the one I was debugging) that looks really strange. It has parent PID = 0:</p>

<p>My process is called: worker</p>

<p>Here is the output of <code>ps aux | grep worker</code></p>

<pre><code>root            22785   0.0  0.0        0      0   ??  Z     3:48pm   0:00.00 (worker)
</code></pre>

<p>As you can see, the process has a PID, but it has no parent PID. This does nothing</p>

<pre><code>sudo kill -9 &lt;pid&gt;
</code></pre>

<p>In fact, nothing short of a restart seems to get rid of it. How can I kill a process like that? I need the process to die, because it holds on to ports that I need.</p>