Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Mar 11, 2016

Conversation

@rgacogne
Copy link
Member

@rgacogne rgacogne commented Mar 11, 2016

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.

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.
ahupowerdns added a commit that referenced this issue Mar 11, 2016
dnsdist: Add an option to limit the number of queued TCP connections
@ahupowerdns ahupowerdns merged commit 1970336 into PowerDNS:master Mar 11, 2016
1 check passed
@rgacogne rgacogne deleted the 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants