Some parents have a lot of nerve raising their children to be zombies. As if it&#39;s not bad enough that so many kids lack anything resembling respect for others and lack motivation for anything but immediate creature comforts, now some probably-trailer-trash-wannabe&#39;s are letting their brats become zombies. It utterly appaling....<br>
<br>Oh. <br><br>Hmm.<br><br>Zombie Survival Guide is quite clear that to &quot;kill&quot; a zombie it is necessary to destroy the brain. <br><br>Hmm.<br><br>So why is sendmail a sibling of the fast_cgi script again?<br><br>
<div class="gmail_quote">On Mon, Feb 22, 2010 at 3:11 PM, James Sumners <span dir="ltr">&lt;<a href="mailto:james.sumners@gmail.com">james.sumners@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m loathe to kill the parent process because it has a second child --<br>
sendmail. I kind of want sendmail running.<br>
<br>
$ ps -eH<br>
*snip*<br>
 1599 ?        00:00:00   cron<br>
 1606 ?        00:00:00     cron<br>
 1614 ?        00:00:00       boot_fastcgi_bi &lt;defunct&gt;<br>
 1629 ?        00:00:00       sendmail<br>
*snip*<br>
<div><div></div><div class="h5"><br>
On Mon, Feb 22, 2010 at 2:58 PM, Lightner, Jeff &lt;<a href="mailto:jlightner@water.com">jlightner@water.com</a>&gt; wrote:<br>
&gt; In that situation sometimes (though not always) killing the parent will<br>
&gt; get rid of the zombie.<br>
&gt;<br>
&gt; As an HP presenter used to say at the start of his performance<br>
&gt; presentations:<br>
&gt; You can&#39;t kill a zombie because IT&#39;S ALREADY DEAD!<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of<br>
&gt; Michael H. Warfield<br>
&gt; Sent: Monday, February 22, 2010 2:29 PM<br>
&gt; To: Atlanta Linux Enthusiasts - Yes! We run Linux!<br>
&gt; Cc: <a href="mailto:mhw@wittsend.com">mhw@wittsend.com</a><br>
&gt; Subject: Re: [ale] Boot script becomes a zombie?<br>
&gt;<br>
&gt; On Sun, 2010-02-21 at 23:05 -0500, James Sumners wrote:<br>
&gt;&gt; I have a script that looks runs several other scripts in turn. I use<br>
&gt;&gt; this script to startup several FastCGI processes. This is the script:<br>
&gt;<br>
&gt;&gt; ##########<br>
&gt;&gt; #!/bin/bash<br>
&gt;&gt; find /var/www/fastcgi/scripts/ -type f -execdir &#39;{}&#39; 2&gt;&amp;1 1&gt;/dev/null<br>
&gt; \;<br>
&gt;&gt; return $?<br>
&gt;&gt; ##########<br>
&gt;<br>
&gt;&gt; I then have the following crontab entry for root:<br>
&gt;&gt; @reboot /path/to/boot_cgi_bin.sh<br>
&gt;<br>
&gt;&gt; Every time I reboot my server, this boot_cgi_bin.sh script turns into<br>
&gt;&gt; a zombie (the cgi bins do get started). Does anyone see a reason why<br>
&gt;&gt; this script would hang up as a zombie process?<br>
&gt;<br>
&gt; A zombie process means that process terminated but the process (which<br>
&gt; would seem to be cron in this case) which started it has not reaped the<br>
&gt; child&#39;s status.  It&#39;s really all gone and only exists as an entry in the<br>
&gt; proc table.  This CAN happen if a child it invokes leaves it&#39;s file<br>
&gt; descriptors open and they&#39;re pipes back to the parent (it&#39;s what causes<br>
&gt; ssh to refuse to terminate after running a script which restarts<br>
&gt; services.).  I had to deal with that in the smbmount program when I was<br>
&gt; maintaining it.<br>
&gt;<br>
&gt; Do a ps -lp {process id} on that process id and then see what the parent<br>
&gt; process is (may be a shell).<br>
&gt;<br>
&gt; Might also redirect stdin from /dev/null just in case one of those<br>
&gt; scripts you&#39;re invoking is doing something funny with stdin.<br>
&gt;<br>
&gt; Mike<br>
&gt; --<br>
&gt; Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com<br>
&gt;   /\/\|=mhw=|\/\/          | (678) 463-0932 |<br>
&gt; <a href="http://www.wittsend.com/mhw/" target="_blank">http://www.wittsend.com/mhw/</a><br>
&gt;   NIC whois: MHW9          | An optimist believes we live in the best<br>
&gt; of all<br>
&gt;  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of<br>
&gt; it!<br>
&gt;<br>
&gt; Proud partner. Susan G. Komen for the Cure.<br>
&gt;<br>
&gt; Please consider our environment before printing this e-mail or attachments.<br>
&gt; ----------------------------------<br>
&gt; CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>

&gt; ----------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
&quot;All governments suffer a recurring problem: Power attracts<br>
pathological personalities. It is not that power corrupts but that it<br>
is magnetic to the corruptible. Such people have a tendency to become<br>
drunk on violence, a condition to which they are quickly addicted.&quot;<br>
<br>
Missionaria Protectiva, Text QIV (decto)<br>
CH:D 59<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness         <br><br>