Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak in router/thrower lead to RabbitMQ unacked timeout #1172

Closed
wants to merge 3 commits into from

Conversation

BlackOrder
Copy link
Contributor

@BlackOrder BlackOrder commented Jan 11, 2024

Description

The memory leak is in the thrower router. when dlr level 3 is requested: if level 1 and level 2 are both in the queue, then both have the same message-id. added a function to create a unique id [message-id-level]. when it is not a dlr it will be [message-id-]. Possible same problem in Issue #1142
i don't know enough about managers and no testing setup for it to tinker with manager/dlr. but i suspect the same problem there. @farirat, please check there. 😊👍

Checks

  • My pull request adheres to the code style of this project
  • All the tests have passed

@BlackOrder
Copy link
Contributor Author

changed the function to append the message.delivery_tag instead of level as it's universal and unique throughout the session. kept the message id for debugging and if the connection reset somehow and the message.delivery_tag changed. i'm not an expert of RabbitMQ

@BlackOrder
Copy link
Contributor Author

it seems jasmin does not like delivery_tag very much

@BlackOrder
Copy link
Contributor Author

Bad change. Nothing works properly. Found a fix. but i will add it in a different pull request. :(

@BlackOrder BlackOrder closed this Jan 20, 2024
@BlackOrder BlackOrder deleted the UnACK-Error-in-thrower branch January 20, 2024 09:35
@meshackjr
Copy link

still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants