Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

postwait/node-amqp library causes channel memory leak #14

Open
niho opened this issue Oct 22, 2018 · 0 comments
Open

postwait/node-amqp library causes channel memory leak #14

niho opened this issue Oct 22, 2018 · 0 comments
Assignees
Labels

Comments

@niho
Copy link
Contributor

niho commented Oct 22, 2018

Problem

The RabbitMQ production server gets overloaded by new channels regularly and locks up because of the memory load. This seems to be caused by a bug in the postwait/node-amqp library that we are using. It seems to be creating a new AMQP channel each time a message is published, which obviously will cause serious problems.

Suggested solution

The node-amqp library has been marked as UNMAINTANED, so we need to look at moving to another library that is not buggy. There are multiple candidates:

  • amqp-coffee from Dropbox
  • rabbot which has a nice declarative API
  • amqplib that claims almost 100% test coverage
  • bramqp seems feature complete, but has complex API
@niho niho added the bug label Oct 22, 2018
@niho niho self-assigned this Oct 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant