[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



-Jim P.

On Thu, 2005-02-24 at 06:43 -0500, Jonathan Glass wrote:
> I've written a little Perl script to monitor a log file and alert (in 
> this case, insert the flagged data into a DB) on a certain pattern.  The 
> parent process sits in an infinite loop watching the file, and whenever 
> the pattern is matched, a child process is forked to do the DB 
> insertion.  Anyone know the proper way to handle the death of all these 
> child processes?  If I run a 'ps -aef' on the box while the script is 
> running, I see dozens of '<defunct>' processes.
> 
> TIA
> 
> Jonathan Glass
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00905" href="msg00905.html">[ale] Any Perl Gurus Out There?</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00907" href="msg00907.html">[ale] Any Perl Gurus Out There?</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00902" href="msg00902.html">[ale] Any Perl Gurus Out There?</a></strong>
<ul><li><em>From:</em> jonathan.glass at oit.gatech.edu (Jonathan Glass)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00902.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00904.html">[ale] Westell DSL Router</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00902.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00905.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00903"><strong>Date</strong></a></li>
<li><a href="threads.html#00903"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>