Blocking Connections
I am having issues with long living connections not closing and it resulting in my consumer grinding to a halt. We are experiencing this whilst under high load. Is there any reason why connections would be staying alive? Is there anything you can suggest to address this issue?
Node.JS can have pretty unhelpful behaviour under load, so it's difficult to narrow down what might be the problem. As a guess though, it's easy to ignore back-pressure from publishing, and this may mean you are shovelling lots of messages into buffers that are already full -- Node.JS won't prevent you from doing this.
I would have a look at:
- What RabbitMQ thinks is happening (connection state, message rates, memory use of the server, ...)
- The memory use of Node.JS as load increases
and check that you are responding to write returning false.