[asterisk-bugs] [JIRA] (ASTERISK-22944) Reload Memory Leak.

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Dec 6 11:44:01 CST 2013


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

Matt Jordan commented on ASTERISK-22944:
----------------------------------------

There is not enough information on this issue for someone to reproduce or diagnose this.

You will need to determine where the leak is occurring and narrow down what component is in. Asterisk has a build option, MALLOC_DEBUG, that can be used to help determine if memory is being leaked. Enabling MALLOC_DEBUG and re-compiling Asterisk with said option will give you new CLI commands that can help show leaking memory.

Alternatively, you can run Asterisk under valgrind. This will almost always show memory leaks. Instructions can be found on the [Asterisk wiki|https://wiki.asterisk.org/wiki/display/AST/Valgrind] for running Asterisk under valgrind.
                
> Reload Memory Leak.
> -------------------
>
>                 Key: ASTERISK-22944
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22944
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.6.0
>         Environment: CentOS release 6.4 
>            Reporter: Jean-Marc Pigeon
>
> System in production, work no trouble, found the used memory was a little bit high 
> VSZ 203632, RSS 76152  
> Restarted asterisk (service asterisk restart)
> New Memory values are 81636 48376 (rather stable  while calls are processed).
> done an asterisk -rx "reload"
> New Memory values are 115128 82524
> new asterisk reload
> New Memory values are 147112 115200
> So it seems each time the SAME configuration is reloaded, used memory increase.
> test done on 2 different asterisks (but same asterisk versions).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list