You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/02/16 20:12:00 UTC

[jira] [Commented] (ARTEMIS-4161) AMQP and OpenWire have a few Leaks during open and close connections

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

ASF subversion and git services commented on ARTEMIS-4161:
----------------------------------------------------------

Commit a2ba6ed2987aff2739a4df5473113b8da14d1d4c in activemq-artemis's branch refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=a2ba6ed298 ]

ARTEMIS-4161 AMQP and OpenWire leaking leaking objects in certain conditions

The issue identified with AMQP was under Transaction usage, and while opening and closing sessions.
It seems the leak would be released once the connection is closed.

We added a new testsuite under ./tests/leak-tests To fix and validate these issues


> AMQP and OpenWire have a few Leaks during open and close connections
> --------------------------------------------------------------------
>
>                 Key: ARTEMIS-4161
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4161
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.28.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.29.0
>
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> OpenWire and AMQP are leaking objects in the following scenarios:
> AMQP:
> - Open Transactions, open connections, close connections, commit, send
> It appears these leaks are sustained as long as you keep closing and opening sessions.
> OpenWire:
> - The leak here is not as critical as in AMQP, but a short term leak was found while investigating the AMQP issue. (the AMQP connection would be released after a TTL Timeout).
> To Validate this, I'm creating a new test suite:
> ./tests/leak-tests
> Which will use https://github.com/check-leak/check-leak to validate the survival of these objects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)