[asterisk-bugs] [JIRA] (ASTERISK-24317) Crash preceded by potential memory leak.

Corey Farrell (JIRA) noreply at issues.asterisk.org
Fri Nov 7 13:08:29 CST 2014


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

Corey Farrell commented on ASTERISK-24317:
------------------------------------------

You are definitely leaking peers (Allocations_2014_11_07_09_48.txt shows almost 30,000 allocated peers).  Since peers are reference counted object, please turn MALLOC_DEBUG off and recompile with REF_DEBUG.  Follow instructions on the [wiki|https://wiki.asterisk.org/wiki/display/AST/Reference+Count+Debugging].  Note that since you're running 11.12.0 you will have to run refcounter.py found in the Asterisk source.  Given the rate you are leaking it will not take very long to produce useful results.  If the output of refcounter.py is too large, you can extract a single leaked object that is constructed by 'build_peer'.  I also need to see your sip.conf.

> Crash preceded by potential memory leak.
> ----------------------------------------
>
>                 Key: ASTERISK-24317
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24317
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 11.11.0, 11.12.1
>            Reporter: Roberto
>            Assignee: Roberto
>         Attachments: backtrace_tee.txt, backtrace.txt, memory usage.zip, mmlog, mmlog.zip
>
>
> Hi.
> My asterisk is 11.11.0 on a CentOS x86_64  - release 6.5 (Final).
> I'm having serious problems with memory leak in my asterisk. 
> I have 16GB and the process uses on average 30% to meet my 100 users. However, I realize that he never lower than 30%, even when all disconnect the asterisk. Today the asterisk used all memory, all the swap and then crashed.
> Could you help me please?
> Thanks



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



More information about the asterisk-bugs mailing list