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

Denis (JIRA) noreply at issues.asterisk.org
Sat Feb 8 01:21:03 CST 2014


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

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

Also today i wrote my own socket for Centos where Asterisk runs, and tried to send CLI commands and recieve responses over it using key -x (asterisk -x core show settings) etc., all works fine - no memory leak, no RAM buffer increase.
                
> 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