Skip to content

Connections increase when publishing at high rate #1803

@merlich9

Description

@merlich9

Describe the bug

Publishing messages at a high rate, 1-2k messages per 10 minutes, the connections keep increasing. The publisher is not closed/disposed, but reused. The only way to get the connections to close is to restart the process.
Have tried closing/disposing after x publishes, but that only slows down the connection increase slightly, but still has connections dangling. Increasing timeout and heartbeat timeout hasn't had any effect.

Reproduction steps

  1. Publish messages at a high rate from a single process with messages between 1k and 1M in size. 1k-2k per 10 minutes.

...

Expected behavior

Connections to stay constant for each connection/channel.

Additional context

No response

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