HAProxy being killed with more that 54,000 connections
Posted
by
Olly
on Server Fault
See other posts from Server Fault
or by Olly
Published on 2011-01-12T14:18:10Z
Indexed on
2011/01/12
14:55 UTC
Read the original article
Hit count: 243
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?
© Server Fault or respective owner