[asterisk-bugs] [Asterisk 0017986]: high chan_sip use count (mem leak)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 14 13:48:48 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17986 
====================================================================== 
Reported By:                vrban
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17986
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.34 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-14 04:31 CDT
Last Modified:              2010-09-14 13:48 CDT
====================================================================== 
Summary:                    high chan_sip use count (mem leak)
Description: 
Hello, i have a average of 66 active SIP channels (33 active calls)
and asterisk use 374MB(VIRT) 301MB(RES) after 1 week, 5 days uptime.
Suspicious is chan_sip Use Count:

asterisk -rx'module show like chan_sip.so'
Module                         Description                             
Use Count
chan_sip.so                    Session Initiation Protocol (SIP)       
1540

But "sip show channels" only show the 66 aktiv SIP channels (the ACK's and
INVITE's)
So where are the 1540 chan_sip uses from that probably cause the memory
leak?

A function like "module show linke chan_sip.so uses" perhaps can show
what's going wrong.
====================================================================== 

---------------------------------------------------------------------- 
 (0126940) lmadsen (administrator) - 2010-09-14 13:48
 https://issues.asterisk.org/view.php?id=17986#c126940 
---------------------------------------------------------------------- 
I'd say a backtrace of Asterisk running along with 'core show locks' from
the Asterisk console would be a start. Also, this seems to be posted
against 1.4.34, and 1.4.35 is out and 1.4.36-rc1 (which is going to become
1.4.36 later today) is available. I'd suggest testing of those versions
would be beneficial as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-14 13:48 lmadsen        Note Added: 0126940                          
2010-09-14 13:48 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list