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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jan 19 03:10:10 CST 2017


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

Asterisk Team commented on ASTERISK-26731:
------------------------------------------

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].

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