2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

log a debug log message when reaching a memory water mark

This commit is contained in:
Andreas Gustafsson 2001-10-27 00:29:35 +00:00
parent 6b07de6abf
commit d3f58baf38

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: adb.c,v 1.185 2001/10/25 17:47:16 gson Exp $ */ /* $Id: adb.c,v 1.186 2001/10/27 00:29:35 gson Exp $ */
/* /*
* Implementation notes * Implementation notes
@ -4114,6 +4114,8 @@ water(void *arg, int mark) {
REQUIRE(DNS_ADB_VALID(adb)); REQUIRE(DNS_ADB_VALID(adb));
DP(1, "adb reached %s water mark", overmem ? "high" : "low");
adb->overmem = overmem; adb->overmem = overmem;
if (overmem) { if (overmem) {
isc_interval_set(&interval, 0, 1); isc_interval_set(&interval, 0, 1);