[asterisk-bugs] [JIRA] (ASTERISK-24608) Asterisk consumes more memory (and CPU) gradually: memory leak.

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jan 12 09:41:34 CST 2015


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

Matt Jordan commented on ASTERISK-24608:
----------------------------------------

While your memory logs show that memory is accumulating over time - particularly in {{chan_iax2}} - that isn't sufficient for someone to diagnose what the cause of the problem is. You'll need to provide instructions for reproducing the growth in memory. Please include the following:
* Your system configuration, including all channel {{conf}} files as well as dialplan.
* DEBUG logs showing the call traffic during the time that the memory growth is occurring. For the channel drivers involved, please include the necessary channel driver debugging, e.g., 'sip set debug on' if {{chan_sip}} is involved, etc.
* Preferably, an isolated call that demonstrates the growth in memory. That is, if you notice that after some specific IAX2 call the memory has increased after the call completed, then note that this particular channel/call caused the issue.

> Asterisk consumes more memory (and CPU) gradually: memory leak.
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-24608
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24608
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 11.14.0
>         Environment: Debian Wheezy
>            Reporter: ibercom
>            Assignee: Matt Jordan
>         Attachments: memallocations2.tar.gz, memallocations.zip, memsummary2.tar.gz, memsummary.zip, server2.log, server.log
>
>
> I have a Asterisk 11 server. No transcoding. PRI, SIP and IAX calls. SIP realtime config.
> Asterisk consumes more CPU (and memory) gradually. This starts to happen when asterisk processed enough calls. And the CPU % no longer drops in idle times.
> I think so that it is a bug but I don't know where.
> How can i find the asterisk's cpu usage ? Which process/thread/code is the culprit ?
> Asterisk 1.8 (same config and similar modules) consumes far less memory. And half of CPU. Is it normal ?



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



More information about the asterisk-bugs mailing list