<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
JINMEI Tatuya / 神明達哉 escreveu:
<blockquote cite="mid:m2wse3650h.wl%25Jinmei_Tatuya@isc.org" type="cite"><br>
<blockquote type="cite">
<pre wrap=""> question is .... is there something i can do to low bind's memory
usage and successfully run it on those very low embedded devices ???
</pre>
</blockquote>
<pre wrap=""><!---->
Admittedly, BIND9 tends to require a lot of memory. I'm not sure if
it can reasonably function with a total system memory of 32MB.
Some related points:
- if you enable threads, disable them. With the thread support BIND9
will require even more memory.
</pre>
</blockquote>
yes threads are already disabled. Compilation is done this way:<br>
<br>
CONFIGURE_ARGS += \<br>
--enable-shared \<br>
--enable-static \<br>
--enable-ipv6 \<br>
--with-randomdev="/dev/urandom" \<br>
--disable-threads \<br>
--with-openssl="$(STAGING_DIR)/usr" \<br>
--with-libtool \<br>
--with-libxml2=no \<br>
, \<br>
BUILD_CC="$(TARGET_CC)" \<br>
<br>
<br>
<blockquote cite="mid:m2wse3650h.wl%25Jinmei_Tatuya@isc.org" type="cite">
<pre wrap="">- "max-cache-size 1048576" is a meaningless configuration:
Any positive values less than 2MB will be ignored reset
to 2MB.
(from ARM)
</pre>
</blockquote>
i do RTFM :) .... and on the options section, max-cache-size
description, there's nothing about that. But if you say so, i'm sure
it's there somewhere :) I have done a quick search on 9.5 ARM and
really didnt find it .....<br>
<br>
anyway, i successfully found that validation on the code ...
dns_cache_setcachesize and DNS_CACHE_MINSIZE ..... anything smaller
than 2Mb is replaced by 2Mb. Anyway, even the 1Mb being meaningless, it
would force the DNS_CACHE_MINSIZE (2Mb) to be used and not the default
one which is 32Mb. Even if the 1Mb parameter is ignored, the 2Mb would
be something to me, comparing to 32Mb default one.<br>
<br>
anyway, thanks for the tip. I would never realize that.<br>
<br>
<pre class="moz-signature" cols="72">--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
<a class="moz-txt-link-freetext" href="http://www.solutti.com.br">http://www.solutti.com.br</a>
Minha armadilha de SPAM, NÃO mandem email
<a class="moz-txt-link-abbreviated" href="mailto:gertrudes@solutti.com.br">gertrudes@solutti.com.br</a>
My SPAMTRAP, do not email it
</pre>
</body>
</html>