[asterisk-bugs] [Asterisk 0012308]: high SIP call volume locks Asterisk 1.4.19rc3

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Mar 26 18:51:23 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12308 
====================================================================== 
Reported By:                mflorell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12308
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.19-rc3 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             03-26-2008 11:23 CDT
Last Modified:              03-26-2008 18:51 CDT
====================================================================== 
Summary:                    high SIP call volume locks Asterisk 1.4.19rc3
Description: 
I am able to reliably lock up Asterisk and send the loadavg on the server
to 100.00 and higher within 5 minutes of starting performance testing with
300+ channels(all SIP). With IAX, even at higher call volumes, it does not
crash at all.

Here is a link to the 20,000+ line GDB output:
http://www.eflo.net/files/Asterisk_1.4.19rc3_crash_gdb_2008-03-26.txt

I tried doing a "core show threads" but Asterisk was not responding.


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

---------------------------------------------------------------------- 
 mflorell - 03-26-08 18:51  
---------------------------------------------------------------------- 
After several trials I think I've figured it out and it's not really a bug.
I had the ulimit -n set to 2048(open files) and this seemed to be enough
for the IAX channel performance tests at the level of 300-350 channels, but
not enough for the SIP channels at the same channel volume. 

Also, it wasn't just the channel volume, it was also the rate at which the
calls were being launched. Using SIP and going up to the 300-350 channels
much more slowly and the crash did not take place. It seems that IAX is
either faster at open-file cleanup, or it uses less open-files as compared
to SIP.

In the end, raising ulimit -n to 10000 caused the problems to go away
completely, which I confirmed with 5 separate tests.

You can close this issue, thanks for your time looking at it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-26-08 18:51  mflorell       Note Added: 0084633                          
======================================================================




More information about the asterisk-bugs mailing list