Knowledge Base ISC Main Website Ask a Question/Contact ISC
Why is BIND logging "adb: grow_entries to <number>" and "adb: grow_names to <number>"?
Author: Cathy Almond Reference Number: AA-00548 Views: 6414 Created: 2011-11-21 13:06 Last Updated: 2012-11-15 16:43 0 Rating/ Voters

Question:

Since installing a new version of BIND, I'm getting the following informational messages on starting named.  What do they mean?

18-Nov-2011 03:35:14.872 database: info: adb: grow_entries to 1531 starting
18-Nov-2011 03:35:14.874 database: info: adb: grow_entries finished

18-Nov-2011 03:36:21.908 database: info: adb: grow_names to 1531 starting
18-Nov-2011 03:36:21.911 database: info: adb: grow_names finished

Answer:

These are just diagnostic (informational) messages about the resizing of hash tables that are used by recursive servers.  The feature (which improves run-time performance) was introduced in BIND 9.8.0.  Depending on the loading on your server, you may also see them intermittently at other times - usually when there is a peak in query rates, or a spate of queries that are for names with a greater diversity than usual.

2993.    [func]        Dynamically grow adb hash tables. [RT #21186]

The ADB hash table sizes are never reduced, even if cache (including ADB) is emptied via rndc flush.  There is no reason to decrease them as the likelihood is that when repopulated following the flush, cache will once again reach a similar size.

Note on the new functionality

Currently named stalls other activity while this happens because the table being resized is accessed by multiple threads.  This stall may or may not become externally noticeable and if it does we need to look at implementing a more complicated strategy to grow the hash table.  However we need the log messages now to correlate events and to be able to diagnose whether or not this is a problem.



© 2001-2017 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Custom Fields
  • Bug tracking system reference: 21186
  • CHANGES reference: 2993
Feedback
  • There is no feedback for this article
Quick Jump Menu