[asterisk-bugs] [Asterisk 0018515]: [patch] Asterisk produces many zombie processes while under load.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 19 14:33:32 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18515 
====================================================================== 
Reported By:                ernied
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   18515
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-2933 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-21 20:26 CST
Last Modified:              2011-01-19 14:33 CST
====================================================================== 
Summary:                    [patch] Asterisk produces many zombie processes
while under load.
Description: 
Once under a non-trivial load (trivial being the 6 phones in our office
that we've been testing with for the past week, non-trivial being around a
hundred sip clients and about 7 or 8 simultaneous DAHDI calls), Asterisk
starts producing a high volume of zombie processes - say a few hundred a
minute. If left alone, this crashes the operating system within a few
hours, but not before calls start getting very flaky.


====================================================================== 

---------------------------------------------------------------------- 
 (0130730) svnbot (reporter) - 2011-01-19 14:33
 https://issues.asterisk.org/view.php?id=18515#c130730 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 302644

_U  trunk/
U   trunk/main/app.c

------------------------------------------------------------------------
r302644 | tilghman | 2011-01-19 14:33:30 -0600 (Wed, 19 Jan 2011) | 29
lines

Merged revisions 302634 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r302634 | tilghman | 2011-01-19 14:24:57 -0600 (Wed, 19 Jan 2011) | 22
lines
  
  Merged revisions 302599 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ........
    r302599 | tilghman | 2011-01-19 14:13:24 -0600 (Wed, 19 Jan 2011) | 15
lines
    
    Kill zombies.
    
    When we ast_safe_fork() with a non-zero argument, we're expected to
reap our
    own zombies.  On a zero argument, however, the zombies are only reaped
when
    there aren't any non-zero forked children alive.  At other times, we
    accumulate zombies.  This code is forward ported from res_agi in 1.4,
so that
    forked children are always reaped, thus preventing an accumulation of
zombie
    processes.
    
    (closes issue https://issues.asterisk.org/view.php?id=18515)
    Reported by: ernied
    Patches: 
          20101221__issue18515.diff.txt uploaded by tilghman (license 14)
    Tested by: ernied
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-19 14:33 svnbot         Checkin                                      
2011-01-19 14:33 svnbot         Note Added: 0130730                          
======================================================================




More information about the asterisk-bugs mailing list