[asterisk-bugs] [JIRA] (ASTERISK-26731) res_sorcery_memory_cache: memory leak on every sorcery memory cache populate

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Feb 6 10:34:21 CST 2017


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

George Joseph updated ASTERISK-26731:
-------------------------------------

    Target Release Version/s: 13.14.0

> res_sorcery_memory_cache: memory leak on every sorcery memory cache populate
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-26731
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26731
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_sorcery_memory_cache
>    Affects Versions: 13.13.1
>         Environment:  3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
>            Reporter: Ustinov Artem
>            Assignee: Mark Michelson
>      Target Release: 13.14.0
>
>         Attachments: endpoint_acl_leak.diff, valgrind.tar.gz
>
>
> Configured PJSIP realtime with sorcery cache (full_backend_cache=yes).
> After each 'sorcery memory cache expire/populate res_pjsip/endpoint' command or when sorcery memory cache expires extra memory consumption occur.
> I have around 6000 endpoints and each time that cache expires and sorcery repopulate it memory consumption rises about 50 mb. 
> I attached valgrind log.
> {noformat}
> Sorcery.conf
> [res_pjsip] ; Realtime PJSIP configuration wizard
> endpoint/cache=memory_cache,maximum_objects=0,expire_on_reload=no,object_lifetime_stale=0,object_lifetime_maximum=600,full_backend_cache=yes
> auth/cache=memory_cache,maximum_objects=0,expire_on_reload=no,object_lifetime_stale=0,object_lifetime_maximum=600,full_backend_cache=yes
> aor/cache=memory_cache,maximum_objects=0,expire_on_reload=no,object_lifetime_stale=0,object_lifetime_maximum=86400,full_backend_cache=yes
> endpoint=config,pjsip.conf,criteria=type=endpoint
> auth=config,pjsip.conf,criteria=type=auth
> aor=config,pjsip.conf,criteria=type=aor
> domain=config,pjsip.conf,criteria=type=domain
> endpoint=realtime,ps_endpoints
> auth=realtime,ps_auths
> aor=realtime,ps_aors
> {noformat}



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



More information about the asterisk-bugs mailing list