Ondřej Surý
f8b7188a42
Detach the views in zone_shutdown(), not in zone_free()
...
The .view (and possibly .prev_view) would be kept attached to the
removed zone until the zone is fully removed from the memory in
zone_free(). If this process is delayed because server is busy
something else like doing constant `rndc reconfig`, it could take
seconds to detach the view, possibly keeping multiple dead views in the
memory. This could quickly lead to a massive memory bloat.
Release the views early in the zone_shutdown() call, and don't wait
until the zone is freed.
(cherry picked from commit 13bb821280 )
2023-01-17 22:47:43 +01:00
..
2023-01-16 11:07:19 +00:00
2022-11-29 09:14:07 +01:00
2023-01-09 14:23:26 -08:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2023-01-11 17:15:33 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2023-01-09 14:23:26 -08:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-11 13:42:09 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-09 14:23:26 -08:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-09 14:23:26 -08:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-09 14:23:26 -08:00
2023-01-09 14:23:26 -08:00
2022-12-07 23:59:36 +00:00
2023-01-11 17:15:33 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2023-01-17 21:27:44 +02:00
2023-01-17 22:47:43 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00