CoffeeSprout / ansible-role-haproxy

Setup HAProxy
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Default configuration fails on HAProxy 2.4 on Filedescriptor limits #12

Closed bvansomeren closed 2 years ago

bvansomeren commented 2 years ago

Upgrading to HAProxy 2.4 causes the default to fail to start:

[ALERT] (1334) : [/usr/local/sbin/haproxy.main()] FD limit (16384) too low for maxconn=20000/maxsock=40043. Please raise 'ulimit-n' to 40043 or more to avoid any trouble.

Raising ulimit-n to 42000