unbound/daemon
Robert Edmonds fceb4e8585
Mesh reply counters (#1374)
* Statistics counter for number of queries dropped by limit on reply addresses

Request list entries can be associated with multiple pending "reply
addresses". Basically each request list entry keeps its own list of
clients that should receive the response once the recursion is finished.
This requires keeping allocations around for each client, and there is
a global limit on the number of *additional* reply addresses that can
be allocated. (Each new request list entry seems to get its own initial
reply address which is not counted against the limit.)

This commit adds a statistics counter "num_queries_replyaddr_limit" that
counts the number of incoming client queries that have been dropped due
to the restriction on allocating additional reply addresses. This allows
distinguishing these drops from other kinds of drops.

* Statistics counter for number of mesh reply entries

Request list entries can be associated with multiple pending "reply
addresses". Since there is a limit on the number of additional reply
addresses that can be allocated which can cause incoming queries to be
dropped if exceeded, it would be nice to be able to track this number.

This commit basically exports the mesh_area's internal counter
`num_reply_addrs` as "threadX.requestlist.current.replies" /
"total.requestlist.current.replies".
2025-11-13 09:33:05 +01:00
..
acl_list.c Fast Reload Option (#1042) 2025-03-31 15:25:24 +02:00
acl_list.h Fast Reload Option (#1042) 2025-03-31 15:25:24 +02:00
cachedump.c - Fix unbound-control dump_cache for double unlock of lruhash table. 2025-08-27 16:55:38 +02:00
cachedump.h - #4102 for NSD, but for Unbound. Named unix pipes do not use 2018-06-12 07:43:52 +00:00
daemon.c Fast Reload Option (#1042) 2025-03-31 15:25:24 +02:00
daemon.h Fast Reload Option (#1042) 2025-03-31 15:25:24 +02:00
remote.c Mesh reply counters (#1374) 2025-11-13 09:33:05 +01:00
remote.h Fast Reload Option (#1042) 2025-03-31 15:25:24 +02:00
stats.c Mesh reply counters (#1374) 2025-11-13 09:33:05 +01:00
stats.h - For #762: Introduce stat counters for downstream DNS Cookies per 2023-08-08 15:19:56 +02:00
unbound.c Fix #1346: [FR] Please allow back TLS 1.2. (#1349) 2025-09-29 12:03:56 +02:00
worker.c - Fix add comment to worker_handle_request function that explain it. 2025-11-06 14:32:56 +01:00
worker.h Fast Reload Option (#1042) 2025-03-31 15:25:24 +02:00