[Unbound-users] How can I check what is in the cache?
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?
On Mon, Jun 23, 2014 at 1:33 PM, Michael Van Der Beek
<michael.van at antlabs.com> wrote:
> 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 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,
> 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 ...
>> Unbound-users mailing list
>> Unbound-users at unbound.net
> Unbound-users mailing list
> Unbound-users at unbound.net
More information about the Unbound-users