[Home]

Summary:ASTERISK-00275: [patch] Move SIGCHLD handler to prevent more zombies
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2003-09-15 08:50:49Date Closed:2008-01-15 14:34:32.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) zombie.diff
Description:Move the SIGCHLD handler from MOH to core, and make it loop as long as there are dead children

****** ADDITIONAL INFORMATION ******

This will reduce/remove the problem of zombies in e.g. AGI.  Note that the SIGPIPE handler is also removed, and the signal set to SIG_IGN instead of using an empty handler.  This is a bit more efficient, as the system will stop generating SIGPIPE altogether.
Comments:By: Mark Spencer (markster) 2003-09-16 14:34:54

Merged in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:34:32.000-0600

Repository: asterisk
Revision: 1521

U   trunk/asterisk.c
U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r1521 | markster | 2008-01-15 14:34:32 -0600 (Tue, 15 Jan 2008) | 2 lines

Improve child process reaping (bug ASTERISK-275)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1521