[dnsdist] how to increase connection qlen on DoH listener?
remi.gacogne at powerdns.com
Mon Mar 30 10:20:04 UTC 2020
On 3/29/20 8:25 PM, Christoph via dnsdist wrote:
> after restarting dnsdist we noticed that while nginx takes
> the new setting into account dnsdist remains at 128:
> netstat -Lan
> Current listen queue sizes (qlen/incqlen/maxqlen)
> Proto Listen
> tcp4 0/0/128 <<< dnsdist
> tcp4 5/0/2048 <<< nginx
> Is there a way to tell dnsdist to increase the connection queue on the
> DoH listener?
I'm afraid there is currently no way to do this. We call listen() with
SOMAXCONN, which defaults to 128 on most Unixes. We could make that
value configurable since SOMAXCONN is no longer an hard limit on several
systems including Linux, so please open a feature request  if you
think it's worth it.
> I also tried:
This is an unrelated setting, controlling the number of connections we
are willing to queue in our internal pipe.
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the dnsdist