haproxy/include
Willy Tarreau 08ceb1012b [MEDIUM] listeners: put listeners in queue upon resource shortage
When an accept() fails because of a connection limit or a memory shortage,
we now disable it and queue it so that it's dequeued only when a connection
is released. This has improved the behaviour of the process near the fd limit
as now a listener with a no connection (eg: stats) will not loop forever
trying to get its connection accepted.

The solution is still not 100% perfect, as we'd like to have this used when
proxy limits are reached (use a per-proxy list) and for safety, we'd need
to have dedicated tasks to periodically re-enable them (eg: to overcome
temporary system-wide resource limitations when no connection is released).
2011-07-24 22:58:00 +02:00
..
common [MINOR] Make appsess{,ion}_refresh static 2011-06-25 21:07:01 +02:00
import [MAJOR] replace ultree with ebtree in wait-queues 2008-06-24 08:17:16 +02:00
proto [MINOR] listeners: add support for queueing resource limited listeners 2011-07-24 22:03:52 +02:00
types [MEDIUM] listeners: put listeners in queue upon resource shortage 2011-07-24 22:58:00 +02:00