HAProxy and AMQ (MQTT) long-lasting connections on OpenShift.
Issue
On an environment where AMQ is running on OpenShift and generating MQTT long-lasting connections which are passing through an HAProxy router, those long-lasting connections can derive in spawned HAProxy processes when the router is reloaded. If the number of spawned HAProxy processes keeps growing over time and those connections are never closed, this could lead to resource exhaustion on the host.
This behavior is documented in the OpenShift docs.
Environment
- OpenShift Container Platform.
- 3.x.
- Red Hat AMQ.
- 6.x.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.