Vladimír Čunát via knot-resolver-users <knot-resolver-users(a)lists.nic.cz> wrote:
  Hello, thanks for your interest in Knot Resolver :-)
I am so interested that I am in the process of getting knot-resolver-6.0.8 run on FreeBSD
;-)
  On 25/08/2024 14.02, Michael Grimm via
knot-resolver-users wrote: 
 > cache('['count_entries']'): 4953
> cache('['usage_percent']'): 16.953125 
  Have you checked that noone clears the files and you
don't have cache.clear() in some config, etc?  
No, I haven't a cache.clear() in my config.
  Say, /var/run is usually considered ephemeral and not
persisted across reboots. 
I read that in the docs an made the wrong tests, me bad.
Now, I moved the cache to '/var/db' and 'count_entries' and
'usage_percent' are persistent after restarting the jail
 > #) become cache.stats() reset after a reboot?
  Beware that most of those stats are tied the single
current process (PID), counting the number of an operation was performed. 
I do run a very small site, one kresd process is more than needed
Thanks and sorry for the noise,
Michael