[asterisk-bugs] [JIRA] (ASTERISK-27281) Increased memory usage when using Sorcery Caching

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Sep 20 06:42:08 CDT 2017


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

Asterisk Team commented on ASTERISK-27281:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Increased memory usage when using Sorcery Caching
> -------------------------------------------------
>
>                 Key: ASTERISK-27281
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27281
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.14.0
>         Environment: Debian 8.7
>            Reporter: Bill Brigden
>
> When using Sorery enabled with config like:
> {noformat}
> [res_pjsip]
> endpoint/cache=memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_on_reload=yes,maximum_objects=500
> endpoint=realtime,ps_endpoints
> endpoint=config,pjsip.conf,criteria=type=endpoint
> auth/cache=memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_on_reload=yes,maximum_objects=500
> auth=realtime,ps_auths
> aor/cache=memory_cache,object_lifetime_stale=600,object_lifetime_maximum=1800,expire_on_reload=yes,maximum_objects=500
> aor=realtime,ps_aors
> aor=config,pjsip.conf,criteria=type=aor
> domain_alias=realtime,ps_domain_aliases
> contact=realtime,ps_contacts
> {noformat}
> I've seen increasing memory usage until the server runs out of memory (and swap). If I comment out the "/cache" lines - memory usage stays relatively stable.
> Happy to collate logs / info however would appreciate guidance on what is required to diagnose the cause of unreleased memory.
> I'll upload a screenshot of my collectd graphing post-creation



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



More information about the asterisk-bugs mailing list