Maintained by: NLnet Labs

[Unbound-users] How can I check what is in the cache?

Michael Van Der Beek
Mon Jun 23 13:33:01 CEST 2014


Well my vm took almost a minute to generate 3.7million entries (199meg file) and that was doing a test of urls for about 5-6 hours.
Of course vm would be slower..  haven't tried it for a real server yet. 

VM using 2 processors with 2G ram.
       num-threads: 2
  	so-rcvbuf: 4m
  	so-sndbuf: 4m
       msg-cache-size: 200m
       msg-cache-slabs: 4
       rrset-cache-size: 400m
       rrset-cache-slabs: 4
       infra-cache-slabs: 4
       infra-cache-numhosts: 100000



-----Original Message-----
From: Unbound-users [mailto:unbound-users-bounces at] On Behalf Of Maciej Soltysiak
Sent: Monday, 23 June, 2014 7:53 PM
To: sca at
Cc: unbound-users at
Subject: Re: [Unbound-users] How can I check what is in the cache?

Hello Andreas,

On my machine the dump takes 2.5 seconds, but I was never successful in getting it to contain more than 170k entries (as measured by lines in the dump).

Could you share what cache and memory related settings you've got, please?

Best regards,

On Mon, Jun 23, 2014 at 7:01 AM,  <sca at> wrote:
> Michael Van Der Beek:
>> Do you know if it will lock unbound during a dump?
>> Meaning it will stop recursion during a dump?
> yes, as far as I remember unbound will not answer any query while 
> dumping the cache.
> On my big caches it took 10-15 seconds. That hurts ...
> Andreas
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at
Unbound-users mailing list
Unbound-users at