Le 3 avr. 2016 03:45, "CJ Ess" <[email protected]> a écrit :
>
> Oops, that is important - I have both the maxconn and fullconn settings
in the defaults section.
>
> On Sat, Apr 2, 2016 at 4:37 PM, PiBa-NL <[email protected]> wrote:
>>
>> Op 2-4-2016 om 22:32 schreef CJ Ess:
>>>
>>> So in my config file I have:
>>>
>>> maxconn 65535
>>
>> Where do you have that maxconn setting? In frontend , global, or both.?
>>
>>> fullconn 64511
>>>
>>> However, "show info" still has a maxconn 2000 limit and that caused a
blow up because I exceeded the limit =(
>>>
>>> So my questions are 1)  is there a way to raise maxconn without
restarting haproxy with the -P parameter (can I add -P when I do a reload?)
2) Are there any other related gotchas I need to take care of?
>>>
>>> I notice that ulimit-n and maxsock both show 4495 despite "ulimit -n"
for the user showing 65536 (which is probably half of what I really want
since each "session" is going to consume two sockets)
>>>
>>> I'm using haproxy 1.5.12
>>>
>>
>

So add a maxconn in your global section.
Your process is limited by default to 2000 connections forwarded.

Baptiste

Reply via email to