From: Wouter Wijngaards Date: Fri, 10 Jun 2011 10:41:40 +0000 (+0000) Subject: - statistics-interval prints the number of jostled queries to log. X-Git-Tag: release-1.4.11rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbf6d059b2af8044fd2c1e78f6270ac425f0af2;p=thirdparty%2Funbound.git - statistics-interval prints the number of jostled queries to log. git-svn-id: file:///svn/unbound/trunk@2425 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/stats.c b/daemon/stats.c index 41b4fb80c..97fac8314 100644 --- a/daemon/stats.c +++ b/daemon/stats.c @@ -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 */ diff --git a/doc/Changelog b/doc/Changelog index 7c730c845..1d82ff833 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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