Hello,

I am sorry, but since I got under pressure to stabilize our main resolver operation, I had to downgrade to BIND 9.9.6 which effectively solved the problem (i.e. even with max-cache-size set to 0 [unlimited], the amount of memory allocated by named reaches certain maximum and remains stable indefinitely).

The only info I can provide is the archive containing rndc stats from the 9.10 period:

http://www.mujweb.cz/nakamura/dns/leakinfo.tgz

Sorry about that.

--
S pozdravem,
Daniel Ryšlink
System Administrator

Dial Telecom a. s.
Křižíkova 36a/237
186 00 Praha 3, Česká Republika
Tel.:+420.226204627
daniel.rysl...@dialtelecom.cz
-----------------------------------------------
www.dialtelecom.cz
Dial Telecom, a.s.
Jednoduše se připojte
-----------------------------------------------

On 01/27/2015 11:36 AM, J. Thomsen wrote:
On Tue, 27 Jan 2015 11:16:04 +0530,Mukund Sivaraman <m...@isc.org> wrote:


Meanwhile, please can you enable statistics-channels in named.conf and
send us a dump of the XML statistics along with process sizes reported
by ps when named grows very large?

I run the small script below every 5 minutes in a cron job

The result can be seen at http://ns4.jth.net/bind

There is no extreme memory leak running since Jan. 7th, but memory usage is 
slowly increasing from
70 MB till now 161 MB.
In any case using 161 MB RAM serving 623 small authoritative zones and rarely 
any recursive lookups
seems to me wildly out of proportion.
Disk space of zone files is 5,4 MB.
The developers of BIND ought to revisit the memory usage of BIND.


#!/bin/sh
# extracts the memory usage of named into a file

touch /var/www/html/jth.net/bind/bind_rss_history.txt
RSS=`ps -aux | awk '/^named.*named/{print $6 " " $5}'`
NOW=`date "+%Y-%m-%d %H:%M:%S"`
echo "$NOW $RSS" | awk '{printf "%10s%10s RSS %11sKb VSZ %11sKb\n",$1,$2,$3,$4}' 
>>
/var/www/html/jth.net/bind/bind_rss_history.txt
GET "http://127.0.0.1:8053"; >/var/www/html/jth.net/bind/s`date +%F-%H-%M.xml`
exit 0

In named.conf the configuration is


statistics-channels {
   inet *  port 8053 allow { verytrusted; };
   inet ::  port 8053 allow { verytrusted; };
};

options {

         zone-statistics yes;
};
- Jørgen Thomsen

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to