HAProxy on OpenBSD

Rapsey <>
Mon Oct 26 19:24:48 CET 2009


4096 maxconn does not leave anything for the listen socket? Try setting
kern.maxfiles to 16384


Sergej

On Mon, Oct 26, 2009 at 7:18 PM, McCann, Brian <> wrote:

> Hi all.  I'm trying to setup HAProxy on OpenBSD and I'm having some
> problems.  I can't seem to get it to accept a maxconn value larger than
> 1024.  When I run it set to 4096 for example, I get the following:
>
> [ALERT] 298/135514 (16435) : parsing [/etc/haproxy/haproxy.cfg:5] : maxconn
> value 4096 too high for this system.  Limiting to 1024. Please use '-n' to
> force the value.
>
> I don't quite get why...I checked kern.maxfiles, and that's set to 8192.
>  Anyone have any ideas?
>
> Thanks!
> --Brian
>
>


More information about the erlang-questions mailing list