]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: usr: Limit the outgoing UDP send queue size
authorOndřej Surý <ondrej@isc.org>
Tue, 17 Sep 2024 15:37:22 +0000 (15:37 +0000)
committerOndřej Surý <ondrej@isc.org>
Tue, 17 Sep 2024 15:37:22 +0000 (15:37 +0000)
commit251b90c25e083debb207a9b5d281ece2021ff7eb
treee284d282cfa0b8fce52a2f6be61e2dd087ecc300
parent6c9f3d0d1eda3eeed3ba13aa499e298b857f3873
parent6bff6df27227c12c78cafabe0dab51d2900f8fb3
[9.20] fix: usr: Limit the outgoing UDP send queue size

If the operating system UDP queue gets full and the outgoing UDP sending
starts to be delayed, BIND 9 could exhibit memory spikes as it tries to
enqueue all the outgoing UDP messages.  Try a bit harder to deliver the
outgoing UDP messages synchronously and if that fails, drop the outgoing
DNS message that would get queued up and then timeout on the client side.

Closes #4930

Backport of MR !9506

Merge branch 'backport-4930-limit-the-UDP-send-queue-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9511