qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1069) memory grows on a long-lived connection when links are opened and closed
Date Thu, 19 Jul 2018 19:36:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549742#comment-16549742
] 

ASF subversion and git services commented on DISPATCH-1069:
-----------------------------------------------------------

Commit 936c46b193c07a7fcfc89e71c490ad092e7cffa5 in qpid-dispatch's branch refs/heads/master
from [~tross@redhat.com]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=936c46b ]

DISPATCH-1069 - (mostly from gmurthy) - Re-established the deferred deletion of proton links
and sessions to prevent double-frees and memory growth.
This closes #344


> memory grows on a long-lived connection when links are opened and closed
> ------------------------------------------------------------------------
>
>                 Key: DISPATCH-1069
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1069
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.2.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>             Fix For: 1.3.0
>
>         Attachments: link-leak.c, link-leak.py
>
>
> The attached reproducers link-leak.c and link-leak.py open and close links repeatedly
on the same connection. This causes the routers memory use to grow.
> Massif shows that the memory is due to pn_link_t and related objects. PROTON-905 describes
an old bug where link information is leaked but experiments show this is not happening with
modern proton.
> I suspect the growth is due to dispatch sometimes failing to call pn_link_free() but
investigation is still ongoing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message