max-cache-size doesn't work with 9.5.0b1

JINMEI Tatuya / 神明達哉 Jinmei_Tatuya at isc.org
Wed Feb 20 03:36:46 UTC 2008


At Mon, 18 Feb 2008 11:08:38 +0700,
"Fajar A. Nugraha" <fajar at fajar.net> wrote:

> > Here are the results:
> > http://people.fsn.hu/~bra/freebsd/bind950-memory-20080212/
> > and at the end, the relevant line from top.
> >
> > Is this FreeBSD leaking then?
> 
> Hi,
> 
> Are there any progress regarding this matter?

Unfortunately, not yet.

> I'm experiencing the same problem under RHEL5/ppc, bind 9.5.0b1, 64bit
> binary, so it's not FreeBSD-specific problem.
> Max-cache-size is 1G, and yet memory usage (RES) is at 5.5 GB and growing.
> Similar thing happens with 32bit binary, with the difference that it
> dies once memory usage is over 4G.

If your operational environment allows, can you try to run the server
with the following setting?
- a smaller max-cache-size value (e.g., 128MB), and
- a relatively smaller datasize value (e.g., 512MB)

Then memory allocation will start failing at some point, and some
unusual log messages will possibly appear, which might help diagnose
the problem.

BTW:
- does this also happen if you build named without threads?
- does this also happen for BIND 9.4?

According to the information so far, this problem seems to happen only
for 9.5 built with threads.

Thanks,

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind-users mailing list