Re: HAProxy on OpenBSD

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: HAProxy on OpenBSD

by Rapsey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <bmccann@...> 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
>
>