dnsdist: Add an option to limit the number of queued TCP connections #3556

Merged
merged 1 commit into from Mar 11, 2016

Projects

None yet

2 participants

@rgacogne
Member

By default, if all TCP threads are busy we will queue incoming TCP
connections until the communication pipes are full.
In some setup, we might run out of file descriptors quickly,
causing new TCP connections but also health checks, web requests,
console connections to fail.
This new setMaxTCPQueuedConnections() option limits the number of
queued connections, dropping new ones when the threshold is
reached.

@rgacogne rgacogne dnsdist: Add an option to limit the number of queued TCP connections
By default, if all TCP threads are busy we will queue incoming TCP
connections until the communication pipes are full.
In some setup, we might run out of file descriptors quickly,
causing new TCP connections but also health checks, web requests,
console connections to fail.
This new `setMaxTCPQueuedConnections()` option limits the number of
queued connections, dropping new ones when the threshold is
reached.
6c1ca99
@ahupowerdns ahupowerdns merged commit 1970336 into PowerDNS:master Mar 11, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-tcp-max-queued branch Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment