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

Maciej Soltysiak maciej at soltysiak.com
Tue Jul 22 11:40:58 UTC 2014


Thanks Michael. I now was able to see my cache grow.

Is there anybody with an idea on how to dump the contents of the cache
without blocking queries?

Best regards,
Maciej

On Mon, Jun 23, 2014 at 1:33 PM, Michael Van Der Beek
<michael.van at antlabs.com> wrote:
> Hi,
>
> 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.
> Having,
>        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
>
>
>
> Regards,
>
> Michael
>
> -----Original Message-----
> From: Unbound-users [mailto:unbound-users-bounces at unbound.net] On Behalf Of Maciej Soltysiak
> Sent: Monday, 23 June, 2014 7:53 PM
> To: sca at andreasschulze.de
> Cc: unbound-users at unbound.net
> 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,
> Maciej
>
> On Mon, Jun 23, 2014 at 7:01 AM,  <sca at andreasschulze.de> 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.net
>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users



More information about the Unbound-users mailing list