HAProxy being killed with more that 54,000 connections
- by Olly
I am trying to run HAProxy (1.4.8) on a EC2 machine running Ubuntu 10.04. I need HAProxy to be able to handle many thousands of long-running persistent connections (websockets). With the current setup HAProxy gets killed at around 54,300 connections (roughly).
If I am running HAProxy in the foreground, the only output is "Killed". Am I right in thinking this is the Kernel killing the process? Is this because it is out of resources? Can I increase the resources?
The CPU and memory consumption are low with 50,000 connections, so I don't suspect either of these.
How can I prevent this from happening?