[asterisk-bugs] [JIRA] (ASTERISK-16768) Memory leak happens when repeatedly tested

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Dec 23 09:41:35 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-16768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224203#comment-224203 ] 

Rusty Newton commented on ASTERISK-16768:
-----------------------------------------

Closing this out. If anyone can reproduce the issue on a new, supported version of Asterisk please open a new issue and provide the debug that [~coreyfarrell] has requested. Thanks!

> Memory leak happens when repeatedly tested
> ------------------------------------------
>
>                 Key: ASTERISK-16768
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16768
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/General
>            Reporter: Kwangsik
>            Assignee: Rusty Newton
>         Attachments: pmap_400regs_tcp.log, pmap_400regs_udp.log, valgrind.txt
>
>
> I repeatedly registered and unregistered 200 Peers(tls-based)
> Using pmap utility, I checked memory usage of asterisk process.
> Memory usages increased continuously.
> The following content is pmap data. 
> 2010-10-05-15:58:45 total   148768K <-- Initialization
> 2010-10-05-15:58:55 total   148768K
> 2010-10-05-15:59:05 total   148768K
> 2010-10-05-15:59:15 total   148768K
> 2010-10-05-15:59:25 total   148768K
> 2010-10-05-15:59:35 total   148768K
> 2010-10-05-15:59:45 total   257488K
> 2010-10-05-15:59:55 total   338032K <-- 200 Peers is registered
> 2010-10-05-16:00:05 total   338032K
> 2010-10-05-16:00:15 total   338032K
> 2010-10-05-16:00:25 total   338032K
> 2010-10-05-16:00:35 total   338032K
> 2010-10-05-16:00:46 total   338032K
> 2010-10-05-16:00:56 total   338032K
> 2010-10-05-16:01:06 total   338032K
> 2010-10-05-16:01:16 total   338032K
> 2010-10-05-16:01:26 total   338032K
> 2010-10-05-16:01:36 total   338032K
> 2010-10-05-16:01:46 total   338032K
> 2010-10-05-16:01:56 total   338032K
> 2010-10-05-16:02:06 total   338032K
> 2010-10-05-16:02:16 total   338032K
> 2010-10-05-16:02:26 total   338032K
> 2010-10-05-16:02:36 total   328688K <-- unregistered and tls connection closed
> 2010-10-05-16:02:46 total   328688K
> 2010-10-05-16:02:56 total   328688K
> 2010-10-05-16:03:06 total   328688K
> 2010-10-05-16:03:16 total   329096K
> 2010-10-05-16:03:26 total   343236K <-- 200 Peers is registered
> 2010-10-05-16:03:36 total   343236K
> 2010-10-05-16:03:46 total   343236K
> 2010-10-05-16:03:56 total   343236K
> 2010-10-05-16:04:06 total   343236K
> 2010-10-05-16:04:16 total   343236K
> 2010-10-05-16:04:26 total   343236K
> 2010-10-05-16:04:36 total   343236K
> 2010-10-05-16:04:46 total   343236K
> 2010-10-05-16:04:56 total   343236K
> 2010-10-05-16:05:06 total   343236K
> 2010-10-05-16:05:16 total   334136K <-- unregistered and tls connection closed
> 2010-10-05-16:05:26 total   334136K
> 2010-10-05-16:05:36 total   334136K
> 2010-10-05-16:05:46 total   334136K
> 2010-10-05-16:05:56 total   334392K
> 2010-10-05-16:06:06 total   354200K <-- 200 Peers is registered
> 2010-10-05-16:06:16 total   354200K
> 2010-10-05-16:06:26 total   354200K
> 2010-10-05-16:06:36 total   354200K
> 2010-10-05-16:06:46 total   354200K
> 2010-10-05-16:06:56 total   354200K
> 2010-10-05-16:07:06 total   354200K
> Also, when I registered 1 Peer, memory usage increased almost 1MB.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list