[asterisk-bugs] [JIRA] (ASTERISK-28064) Memory leak issue in json.c, endpoints.c and stasis_channels.c While using AMI

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sat Sep 22 13:44:54 CDT 2018


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

Corey Farrell commented on ASTERISK-28064:
------------------------------------------

Also important to notice that nobody is suggesting you "upgrade" to a new major version, 13.23.1 is the "update" containing the latest non-breaking bug fixes to 13.16.0.  You should take a look at the UPGRADE.txt and CHANGES files in the tarball, they'll list the most important changes by version (this would not include memory leak fixes).

Nobody is going to re-review the changes made between these versions past year.  I frequently go after memory leaks so it's possible I fixed the bug, but I've submitted a couple hundred patches in the past year so no chance I wouldn't remember if I fixed this.  If you can reproduce the leak with 13.23.1 then I'd be happy to help find the cause and implement a fix.

> Memory leak issue in json.c, endpoints.c and stasis_channels.c While using AMI
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28064
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28064
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 13.16.0
>         Environment: Centos 7
>            Reporter: mohit dhiman
>            Assignee: mohit dhiman
>              Labels: endpoints.c, json.c, memory, stasis_channels.c
>         Attachments: memory_show_summary_memory_leak.txt, memory_show_summary_normal_case.txt
>
>
> I am using Asterisk through AMI and at a time call flow is around 250 calls at any time, now every 1 and half day later asterisk resource memory tends to increase very high because of which alot of AMI disconnection is happening.
> when i executed command 'memory show summary' during a normal case and high memory usage case i found few files that were allocated high amount of memory like:
> high memory case:
> json.c   351997999 bytes
> endpoints.c  3063068552 bytes
> stasis_channels.c  658183761 bytes
> normal case:
> json.c 600 bytes
> endpoints.c 600872 bytes
> stasis_channels.c  42317640 bytes



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



More information about the asterisk-bugs mailing list