Open Source Support Tools
 
Search Item
 
Summary
  Mail Thread
Title: Am I confused about stats output?
Project: bind
Item Last Modified: Thu Aug 28 14:57:05 PDT 2008
Tags:  
 
 
9.5 MailThread bind caching confused domain dump failure internet jinmei jinmei+tatuya+/+=?iso-2022-jp?b?gyrcp0bmqemjokgbkei=?= leave multi named number numbers nxdomain recursion referral statistics stats success systems tatuya
Details
Am I confused about stats output?
2 Messages Collapse AllExpand All
JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= to Steve Snyder28 Aug 2008 21:57:05 GMT
At Mon, 25 Aug 2008 10:04:43 -0400,
Steve Snyder <swsnyder@snydernet.net> wrote:
>
> This is a snippet of my stats output for BIND v9.3.4:
>
> +++ Statistics Dump +++ (1219647723)
> success 15541
> referral 0
> nxrrset 1316
> nxdomain 1317
> recursion 18661
> failure 110
>
> These numbers leave me scratching my a bit.
>
> Shouldn't caching of look-ups always leave the "recursion" value being
> less than the number of look-ups? (Unless every domain resolved is
> unique, of course.)

If your named is multi-threaded, it's possible because incrementing
statistics counters is not thread safe (which is fixed in 9.5 - for
most hardware architectures).

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.




Steve Snyder to BIND Mailing List25 Aug 2008 14:04:43 GMT
This is a snippet of my stats output for BIND v9.3.4:

+++ Statistics Dump +++ (1219647723)
success 15541
referral 0
nxrrset 1316
nxdomain 1317
recursion 18661
failure 110

These numbers leave me scratching my a bit.

Shouldn't caching of look-ups always leave the "recursion" value being
less than the number of look-ups? (Unless every domain resolved is
unique, of course.)

Thanks.