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

ibercom (JIRA) noreply at issues.asterisk.org
Fri Dec 19 13:16:28 CST 2014


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

ibercom commented on ASTERISK-24608:
------------------------------------

Perhaps the problem is MEMORY consumption and this affects CPU consumption.

The memory logs show increased cache (ast_frdup). And especially many alloc_event_ref, ast_event_dup and internal_ao2_link.

The server2.log file has info about calls processed and "ps up <pid>" output when Asterisk is idle (0 active calls). "core show threads" output is normal about 45 threads listed.


> Asterisk consumes more memory (and CPU) gradually.
> --------------------------------------------------
>
>                 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: ibercom
>         Attachments: memallocations.zip, memsummary.zip, 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