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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 30 20:09:23 UTC 2010


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:                     feedback
Asterisk Version:           1.6.2.15 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-21 20:26 CST
Last Modified:              2010-12-30 14:09 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.


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

---------------------------------------------------------------------- 
 (0130055) ernied (reporter) - 2010-12-30 14:09
 https://issues.asterisk.org/view.php?id=18515#c130055 
---------------------------------------------------------------------- 
Also, this is our procedure for testing under load:

1. Live Asterisk server has a proper T1 connection from our telephone
provider connected to an identical Digium Wildcard TE405P. 

2. New Asterisk server has a pseudo T1 connection (or perhaps a real one,
depending on your perspective I suppose) built from one of the free PRI
ports on the Live server. 

3. The Live server forwards incoming calls from its T1 connection to the
new server if a SIP client is not connected to the Live server. ie, from
extensions.conf on the Live server:

exten => 778XXXXXXX,1,Dial(SIP/778XXXXXXX,20)
exten => 778XXXXXXX,n,Dial(DAHDI/g4/778XXXXXXX,20)

4. DNS gets changed to change the hostname of the Live server to use the
IP of the New server.

5. SIP clients start logging in when their registration expires.

6. Things go smoothly until around 6 or 7 consecutive DAHDI calls, when
Asterisk starts producing zombie processes at a high rate (several hundred
per minute).

Typically by step 6, we switch our DNS back and things start going back to
normal for our customers. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-30 14:09 ernied         Note Added: 0130055                          
======================================================================




More information about the asterisk-bugs mailing list