[asterisk-bugs] [Asterisk 0016721]: after a few minutes it takes down the server

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 28 02:54:08 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16721 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16721
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 243695 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-27 18:03 CST
Last Modified:              2010-01-28 02:54 CST
====================================================================== 
Summary:                    after a few minutes it takes down the server
Description: 
Versions 1.6.X has a problem with UDP ports. I use SIP timers in my
sip.conf, so I imagine it its related. After a few minutes of intense
traffic, this linux command ("lsof -i | wc -l") shoots to 30.000+ and in
fact kills the machine, because the Kernel spends most of the time in a
single function, sock_poll. This is what the Parallels engineers have
found:
"this function finds a free socket that might be used for the data
transfer. Because your node have about 5000 already used sockets finding
free socket might take relatively big time. As far as I understand if
system is unable to find the free socket fast enough it just drops UDP
packet because there is no delivery guarantee for this protocol."
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015627 [patch] Asterisk runs out of sockets
====================================================================== 

---------------------------------------------------------------------- 
 (0117291) falves11 (reporter) - 2010-01-28 02:54
 https://issues.asterisk.org/view.php?id=16721#c117291 
---------------------------------------------------------------------- 
I realize that I reported this issue some months ago, so long ago, that I
had forgotten, because I went back to version 1.4. I wonder how can we
advance this issue. It is easily reproducible, in less than 10 mins the UDP
port count goes to 30.0000 in my server. If is there anything I can do to
help figuring this out, let me know. This is the main showstopper between
1.6.X and any business use. So far the entire branch 1.6.X cannot be used
for any real business. We can do much better as a community. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-28 02:54 falves11       Note Added: 0117291                          
======================================================================




More information about the asterisk-bugs mailing list