[asterisk-bugs] [JIRA] (ASTERISK-26150) Memory leakage in stringfields.c and logger.c

Denis S.Davydov (JIRA) noreply at issues.asterisk.org
Sun Jun 26 00:17:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis S.Davydov updated ASTERISK-26150:
---------------------------------------

    Attachment: capture-20160626-081506.png

htop screenshot has been added

> Memory leakage in stringfields.c and logger.c
> ---------------------------------------------
>
>                 Key: ASTERISK-26150
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26150
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.9.1
>         Environment: Virtual Machine on ESXi6 (VM Version 11, 4vCPU, 16Gb RAM), OS: CentOS release 6.8 (Final) x86_84
>            Reporter: Denis S.Davydov
>         Attachments: capture-20160626-081012.png, capture-20160626-081506.png, memory_usage (alloc).png, memory_usage (bytes).png
>
>
> I found on Asterisk 13.9.1 constantly leaking memory. When memory is too low, I've got from employees complaints about loss of sound on ms, its something like ``sticking'. Last two days I tried to find module which caused memory leakage. Asterisk was compiled with MALLOC_DEBUG flag. Every hour I've run script to report memory usage:
> #!/bin/sh
> PATH=/bin:/usr/sbin
> (date; asterisk -rx 'memory show summary') >> /data/tmp/ast_memory_dump.log
> Also, I've write script that parse and load memory summary into Elasticsearch. And I build memory usage graphs by bytes and allocations. Please, look at memory usage on stringfields.c and logger.c. I think this is not normal. 
> I've got last three crashes described on ASTERISK-26149.



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



More information about the asterisk-bugs mailing list