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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 11 13:47:51 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:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
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-08-11 13:47 CDT
====================================================================== 
Summary:                    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,

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

---------------------------------------------------------------------- 
 (0108914) falves11 (reporter) - 2009-08-11 13:47
 https://issues.asterisk.org/view.php?id=15627#c108914 
---------------------------------------------------------------------- 
lsof -i | grep asterisk | wc -l
6958

I figured out what happens. I have only 125 open calls. So my "core show
channels" has 250 lines. But my "sip show channels" has more than 3000
lines like this, all identical.

208.37.201.149   0015311773  1bc3fea13c6  00102/00000  0x0 (nothing)    No
      Init: INVITE              
208.37.201.149   0015311937  7091da8147d  00102/00000  0x0 (nothing)    No
      Init: INVITE              
208.37.201.149   0015311804  5ab9031713c  00102/00000  0x0 (nothing)    No
      Init: INVITE              
208.37.201.149   0015311209  5c23b2205e2  00102/00000  0x0 (nothing)    No
      Init: INVITE              
208.37.201.149   0015311720  5aab76181da  00102/00000  0x0 (nothing)    No
      Init: INVITE              
208.37.201.149   0015311941  09605f3b1fa  00102/00000  0x0 (nothing)    No
      Init: INVITE

I wander what does it mean and how can it be fixed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-11 13:47 falves11       Note Added: 0108914                          
======================================================================




More information about the asterisk-bugs mailing list