Welcome! Log In Create A New Profile

Advanced

Haproxy doesnt allow all mqtt packets to be acknowledged correctly due to the warning shown from haproxy warning

Posted by kushal bhattacharya 
[WARNING] 307/180334 (2743) : [haproxy.main()] Cannot raise FD limit to
12011, limit is 4096.
[WARNING] 307/180334 (2743) : [haproxy.main()] FD limit (4096) too low for
maxconn=6000/maxsock=12011. Please raise 'ulimit-n' to 12011 or more to
avoid any trouble.
Hello,

2017-11-04 13:36 GMT+01:00 kushal bhattacharya <[email protected]>:
> [WARNING] 307/180334 (2743) : [haproxy.main()] Cannot raise FD limit to
> 12011, limit is 4096.
> [WARNING] 307/180334 (2743) : [haproxy.main()] FD limit (4096) too low for
> maxconn=6000/maxsock=12011. Please raise 'ulimit-n' to 12011 or more to
> avoid any trouble.

You need to start haproxy as root. Haproxy will be able to adjust its
fd-limits to whatever is required. If you are concerned about
privileges, you can use the user and group directive to downgrade
privileges after the initialization.


Lukas
Sorry, only registered users may post in this forum.

Click here to login