Ondřej Surý
cb083876c1
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:48:37 +01:00
..
2023-01-16 11:08:43 +00:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-05-16 18:31:55 +02:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2023-01-11 17:26:26 +00:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-08-31 15:49:25 -07:00
2022-11-29 10:30:34 +01:00
2022-05-16 10:35:33 +02:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2023-01-11 13:42:00 +00:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-01-10 17:45:51 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2022-11-29 10:30:34 +01:00
2023-01-17 22:48:37 +01:00
2022-11-29 10:30:34 +01:00
2022-12-08 11:20:35 +11:00
2022-11-29 10:30:34 +01:00