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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 5 17:52:21 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-05 17:52 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,

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

---------------------------------------------------------------------- 
 (0108692) dimas (reporter) - 2009-08-05 17:52
 https://issues.asterisk.org/view.php?id=15627#c108692 
---------------------------------------------------------------------- 
Isn't stating that ALL versions of Asterisk leak handles a bit too much?
I have 1.4.2X systems with
System uptime: 13 weeks, 11 hours, 54 minutes, 43 seconds 
and
# cat /proc/net/sockstat
sockets: used 137
TCP: inuse 15 orphan 0 tw 0 alloc 17 mem 8
UDP: inuse 14
RAW: inuse 0
FRAG: inuse 0 memory 0

The load to this system is very light (like 20 calls a day) but still it
is clear it is not leaking udp sockets. So this can be specific to your
environment that even 1.4 leaks. Can you reproduce your problem on clean
asterisk with one-by-one calls? Like you make call, hangup, and inuse
sockets increase. Then it stays more or less the same and then you make
next call and number increases again? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-05 17:52 dimas          Note Added: 0108692                          
======================================================================




More information about the asterisk-bugs mailing list