[asterisk-bugs] [JIRA] (ASTERISK-23070) Memory leak when using CLI through AMI

Denis (JIRA) noreply at issues.asterisk.org
Fri Feb 28 03:04:03 CST 2014


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

Denis commented on ASTERISK-23070:
----------------------------------

In example added above for memory output i use command "free" in Centos console
[root at localhost ~]# free
     total   used   free   shared buffers cached
Mem: 1030584 166060 864524 0      8384    89516

Today i`ve compiled Asterisk 12.1.0-rc1 with MALLOC_DEBUG enabled, and after that Asterisk even cant start, with error:
[root at localhost asterisk-12.1.0-rc1]# asterisk -vvvvvvvvvvvvr
Segmentation fault.

If it may help You, I can upload hole preinstalled virtual machine (3GB) with my configurations for Oracle VM VirtualBox.
                
> Memory leak when using CLI through AMI
> --------------------------------------
>
>                 Key: ASTERISK-23070
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23070
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 12.0.0
>         Environment: Centos 6.5 on Oracle VM VirtualBox
>            Reporter: Denis
>            Assignee: Denis
>            Severity: Critical
>         Attachments: extconfig.conf, manager.conf
>
>
> Calling CLI commands through AMI interface causes memory leak (sending AMI actions does not cause leak), each call CLI command through AMI increase RAM buffer by 8 kb. I am using Astxx lib (by Matthew A. Nicholson http://matt-land.com/astxx/) as AMI caller, memory usage increases when executed 
> action::command command(str_cmd);
> command(*connectionn);

--
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