]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- statistics-interval prints the number of jostled queries to log.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 10 Jun 2011 10:41:40 +0000 (10:41 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 10 Jun 2011 10:41:40 +0000 (10:41 +0000)
git-svn-id: file:///svn/unbound/trunk@2425 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/stats.c
doc/Changelog

index 41b4fb80cd77b4330767ef5ec5e4dd3432638f09..97fac8314a9c972758f1d9dcecf9e0d127fb94bf 100644 (file)
@@ -100,12 +100,14 @@ void server_stats_log(struct server_stats* stats, struct worker* worker,
                (unsigned)stats->num_queries_missed_cache,
                (unsigned)stats->num_queries_prefetch);
        log_info("server stats for thread %d: requestlist max %u avg %g "
-               "exceeded %u", threadnum, (unsigned)stats->max_query_list_size,
+               "exceeded %u jostled %u", threadnum,
+               (unsigned)stats->max_query_list_size,
                (stats->num_queries_missed_cache+stats->num_queries_prefetch)?
                        (double)stats->sum_query_list_size/
                        (stats->num_queries_missed_cache+
                        stats->num_queries_prefetch) : 0.0,
-               (unsigned)worker->env.mesh->stats_dropped);
+               (unsigned)worker->env.mesh->stats_dropped,
+               (unsigned)worker->env.mesh->stats_jostled);
 }
 
 /** get rrsets bogus number from validator */
index 7c730c84539b5a79ca723226aa421f18b10068df..1d82ff833086f75a65b082365f151fad25a8d9ab 100644 (file)
@@ -4,6 +4,7 @@
        - Unbound control port number is registered with IANA:
          ub-dns-control  8953/tcp    unbound dns nameserver control
          This is the new default for the control-port config setting.
+       - statistics-interval prints the number of jostled queries to log.
 
 30 May 2011: Wouter
        - Fix Makefile for U in environment, since wrong U is more common than