Summary:ASTERISK-16672: high chan_sip use count (mem leak)
Reporter:Kristijan Vrban (vrban)Labels:
Date Opened:2010-09-14 04:31:38Date Closed:2011-06-07 14:05:24
Versions:Frequency of
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.
Comments:By: Leif Madsen (lmadsen) 2010-09-14 13:48:48

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.

By: Leif Madsen (lmadsen) 2011-01-06 14:14:36.000-0600

Closed due to a lack of feedback.