Skip to content

Thread leak in client on "clientId already registered" Error #141

Closed
@tjmcarthur

Description

@tjmcarthur

I have a second instance of my application as hot standby in a registration loop, waiting for a valid connection. The standby instance OOMs every 90 minutes to due to a thread leak. The close method in StreamingConnectionImpl.java throws a NPE setting up the for loop
for(AckClousre ac : this.pubAckMap.values()) {
since pubAckMap is null, this cause the method to bail leaving the dispatchers open with active threads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions