Package: bind9
Version: 1:9.3.4-2etch1
Severity: important
Tags: patch

We're using bind9 as a resolver which is answering 15k-20k queries per
minute. We noticed that with bind 9.3.4 there was a problem whenever
the configured cache limit was reached (max-cache-size 838860800;).
The resolver got very very slow and was unable to respond to queries.

Someone told me to compile bind9 with internal malloc, which solved
the problem. So I would advise to set ISC_MEM_USE_INTERNAL_MALLOC to
1 by default.

Patch:

--- bind9-9.3.4.org/debian/rules        2007-07-30 12:07:38.000000000 +0200
+++ bind9-9.3.4/debian/rules    2007-07-26 22:50:29.000000000 +0200
@@ -17,7 +17,7 @@
 #export CXX=g++-3.4
 #endif
 
-export CFLAGS=-fno-strict-aliasing
+export CFLAGS=-fno-strict-aliasing -DISC_MEM_USE_INTERNAL_MALLOC=1
 
 configure: configure-stamp
 configure-stamp:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to