[asterisk-bugs] [JIRA] (ASTERISK-17752) (not so)large astDB key values cause asterisk to take up a lot of memory

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 13 18:42:34 CDT 2015


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

Matt Jordan closed ASTERISK-17752.
----------------------------------

    Resolution: Not A Bug

I tested this again on Asterisk 11. I was unable to reproduce the extraneous 'whitespace' character.

Asterisk pegging a CPU in this test case is *not* a bug. You've put a channel into an infinite loop where nothing causes it to stop hogging a processor. Ergo, it hogs a processor. This is the same with anything put into an infinite loop that continually processes data.

> (not so)large astDB key values cause asterisk to take up a lot of memory
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-17752
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17752
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Applications/app_db
>    Affects Versions: 1.8.3
>            Reporter: Jacco van Tuijl
>            Severity: Minor
>
> I've been testing astDB limits in combination with asterisk.
> a simple dialplan :
> {noformat}
> exten = _X.,n(waiting),Set(DB(test/testing)=${DB(test/testing)}a)
> exten = _X.,n,goto(waiting)
> {noformat}
> made the value length grow up to max. 4096bytes causing asterisk to take up 84% memory on a machine with 4gb ram
> also in one of the test a whitespace came out of nowhere:
> http://pastebin.com/gpbpcjzR



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



More information about the asterisk-bugs mailing list