On 05/05/2023 11:01, Einar Bjarni Halldórsson wrote:
Hello Einar,
Yesterday we got hit by the per-zone journal becoming
full [1]
As a result we're looking into how we can monitor the status to warn us
if we're near the journal limits, but I can't find a way to report the
currant journal usage (global and per-zone).
kjournalprint -dz will report journal usage, both per zone and total.
The Knot DNS journal provides many advantages over plain files, but this
is one of its major downsides, and needs careful monitoring. We have run
into this at RIPE NCC as well. Older versions of Knot DNS didn't manage
journal usage well, and it led to lots of fragmentation.
I don't know which version of Knot you're running, but newer versions
have improvements in the journal code to avoid some of those problems.
If possible, you should upgrade to the latest version.
Regards,
Anand