I've prepared experimental packages with a cache
GC daemon. You can
currently find them in [knot-resolver-testing]. (version
4.0.0.1558007111.360311a5)
If you'd be interested in testing it, it'd be a great help to assess
whether there are any major issues with the approach or the daemon. I've
played with it a bit and I set the defaults to values that seemed to
work, more info in [PR!817].
To run the GC as a daemon that checks the cache in
/var/cache/knot-resolver every minute, use:
kr_cache_gc -c /var/cache/knot-resolver -d 60000
Thanks for providing these packages.
We started directing some workload towards this version and
will share our experiences once we see what happens when
we are about to reach cache.size.
In the meantime, here two minor suggestion for improvement
with regards to your repo setup instructions at [1]:
- I would find it more trustworthy if the signing key would be fetched
from knot-resolver.cz (instead of
opensuse.org).
(when installing the key we went through the steps to find the same key
on your domain which took a bit of time)
- since the repo supports https maybe replace http with https URLs
[1]
https://software.opensuse.org//download.html?project=home%3ACZ-NIC%3Aknot-r…