[bind10-dev] why is CACHE_RRSET_INIT logged twice?

Likun Zhang zlkzhy at gmail.com
Thu Sep 1 12:06:54 UTC 2011


Yes, two rrset cache are created, one for normal rrset, another one for negative soa cache.
 

> -----Original Message-----
> From: bind10-dev-bounces+zlkzhy=gmail.com at lists.isc.org
> [mailto:bind10-dev-bounces+zlkzhy=gmail.com at lists.isc.org] On Behalf Of
> Jeremy C. Reed
> Sent: Monday, August 22, 2011 11:30 PM
> To: bind10-dev at isc.org
> Subject: [bind10-dev] why is CACHE_RRSET_INIT logged twice?
> 
> 
> 2011-08-16 11:26:40.568 INFO  [b10-resolver.resolver] RESOLVER_STARTING
> starting resolver with command line 'b10-resolver -v'
> 2011-08-16 11:26:40.573 DEBUG [b10-resolver.resolver] RESOLVER_CREATED
> main resolver object created
> 2011-08-16 11:26:40.576 DEBUG [b10-resolver.cache] CACHE_RESOLVER_INIT
> initializing resolver cache for class IN
> 2011-08-16 11:26:40.578 DEBUG [b10-resolver.cache] CACHE_RRSET_INIT
> initializing RRset cache for 20000 RRsets of class IN
> 2011-08-16 11:26:40.580 DEBUG [b10-resolver.cache] CACHE_RRSET_INIT
> initializing RRset cache for 10000 RRsets of class IN
> 2011-08-16 11:26:40.582 DEBUG [b10-resolver.cache] CACHE_MESSAGES_INIT
> initialized message cache for 10000 messages of class IN
> 2011-08-16 11:26:40.583 DEBUG [b10-resolver.cache]
> CACHE_RESOLVER_UPDATE_MSG updating message for ./NS/IN
> 2011-08-16 11:26:40.584 DEBUG [b10-resolver.cache]
> CACHE_MESSAGES_UPDATE
> updating message entry ./NS/IN
> 2011-08-16 11:26:40.585 DEBUG [b10-resolver.cache] CACHE_RRSET_UPDATE
> updating RRset ./NS/IN in the cache
> 2011-08-16 11:26:40.585 DEBUG [b10-resolver.cache] CACHE_RRSET_LOOKUP
> looking up ./NS/IN in RRset cache
> 
> 
> Why is the CACHE_RRSET_INIT logged twice?
> 
> Different sizes, same class. Maybe just resized after loading
> configuration?
> 
> On jabber, vorner wrote: Is it possible two caches are created?
> 
> Maybe. If so, it should kindly tell me :)
> _______________________________________________
> bind10-dev mailing list
> bind10-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind10-dev




More information about the bind10-dev mailing list