[asterisk-bugs] [Asterisk 0015627]: [patch] Asterisk runs out of sockets

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 14 08:44:44 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15627 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15627
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for review
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 209626 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-31 17:12 CDT
Last Modified:              2009-10-14 08:44 CDT
====================================================================== 
Summary:                    [patch] Asterisk runs out of sockets
Description: 
The Parallels engineers have found a bug that takes down asterisk because
the server runs out of sockets, and also it degrades the performance
because over time it takes more and more time for the processor to find an
empty socket. The load on the processor grows over time,

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015716 [patch] chan_sip fails to destroy chann...
child of            0015356 After a few thousand calls, or at rando...
====================================================================== 

---------------------------------------------------------------------- 
 (0112262) vrban (reporter) - 2009-10-14 08:44
 https://issues.asterisk.org/view.php?id=15627#c112262 
---------------------------------------------------------------------- 
hello, i can confirm this issue with 1.4.47-RC2:

sip show channels show hundreds of this
...
xx4.54.82.156     (None)      630871ae72c  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      087cc7af54d  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      58646ede376  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      00eff63964a  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      6e9e525a515  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      622500aa5e3  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      6745ebb944d  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      6455da20338  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      53ffeb6625f  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      34fcf3d00bc  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      706d4ff20c2  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      27dcda68652  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      375ddeb64ec  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      58ebd5ad0fb  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      17340f296d2  00102/00000  0x0 (nothing)   
No       Init: INVITE
xx4.54.82.156     (None)      659277b8082  00102/00000  0x0 (nothing)   
No       Init: INVITE
...

And i have hundreds of never closed/open udp/rtp ports.

The patch  bug15714_1.4.diff fixed the issue with 1.4.47-RC2 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-14 08:44 vrban          Note Added: 0112262                          
======================================================================




More information about the asterisk-bugs mailing list