[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Feb 24 08:36:38 2005 -->
- <!--x-from-r13: syrgpu ng culqrnhk.bet (Tyrgpu) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Any Perl Gurus Out There? -->
- <li><em>date</em>: Thu Feb 24 08:36:38 2005</li>
- <li><em>from</em>: fletch at phydeaux.org (Fletch)</li>
- <li><em>in-reply-to</em>: <<a href="msg00902.html">[email protected]</a>> (Jonathan Glass's message of "Thu, 24 Feb 2005 06:43:16 -0500")</li>
- <li><em>references</em>: <<a href="msg00902.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Any Perl Gurus Out There?</li>
Jonathan> Anyone know the proper way to handle the death of all
Jonathan> these child processes? If I run a 'ps -aef' on the box
Jonathan> while the script is running, I see dozens of '<defunct>'
Jonathan> processes.
If you're doing forks you need to make sure you've got a SIGCHLD
handler setup to wait for them all. The canonical example's in
perldoc perlipc; just search for "sub REAPER". Otherwise those defunc
processes will hang around until your process exits and they get
reparented to init (which will then reap them).
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org| Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--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="msg00905.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00907.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00907.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00908.html">[ale] Any Perl Gurus Out There?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00906"><strong>Date</strong></a></li>
<li><a href="threads.html#00906"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>