From d3f58baf38f016d9794cf88e7b9910bb4ebaa99d Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Sat, 27 Oct 2001 00:29:35 +0000 Subject: [PATCH] log a debug log message when reaching a memory water mark --- lib/dns/adb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 019de26851..2ed47f9762 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -15,7 +15,7 @@ * 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 @@ -4114,6 +4114,8 @@ water(void *arg, int mark) { REQUIRE(DNS_ADB_VALID(adb)); + DP(1, "adb reached %s water mark", overmem ? "high" : "low"); + adb->overmem = overmem; if (overmem) { isc_interval_set(&interval, 0, 1);