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

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


Bill Brigden created ASTERISK-27281:
---------------------------------------

             Summary: 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