BIND - out of memory

Jan Arild Lindstrøm jal at telenor.net
Tue Mar 24 10:44:20 UTC 2009


Hi,

I am running ResPerf from Nominum against BIND 9.6.1b1, and I get a lot of:

--cut--
24-Mar-2009 08:51:30.495 database: adb: fetch of 'ns2.state.oh.us' A failed: out of memory
24-Mar-2009 08:51:30.630 database: adb: fetch of 'gz-dns.cncnet.net' A failed: out of memory
24-Mar-2009 08:51:30.657 query-errors: fetch completed at resolver.c:2908 for 129.83.61.195.in-addr.arpa/PTR in 22.401385: out of memory/success [domain:61.195.in-addr.arpa,referral:2,restart:1,qrysent:0,timeout:0,lame:0,neterr:0,badresp:0,adberr:2,findfail:0,valfail:0]
24-Mar-2009 08:51:30.672 query-errors: fetch completed at resolver.c:2908 for 211.121.239.211.in-addr.arpa/PTR in 18.586241: out of memory/success [domain:239.211.in-addr.arpa,referral:2,restart:1,qrysent:1,timeout:1,lame:0,neterr:0,badresp:0,adberr:2,findfail:0,valfail:0]
24-Mar-2009 08:51:30.684 database: adb: fetch of 'iit.rit.ac.th' A failed: out of memory
24-Mar-2009 08:51:30.685 database: adb: fetch of 'ritk6.rit.ac.th' A failed: out of memory
24-Mar-2009 08:51:30.708 query-errors: fetch completed at resolver.c:2908 for 118.95.219.66.in-addr.arpa/PTR in 31.293651: out of memory/success [domain:95.219.66.in-addr.arpa,referral:1,restart:3,qrysent:0,timeout:1,lame:0,neterr:0,badresp:0,adberr:0,findfail:0,valfail:0]
24-Mar-2009 08:51:30.714 query-errors: fetch completed at resolver.c:2908 for 30.126.138.63.in-addr.arpa/PTR in 28.681399: out of memory/success [domain:138.63.in-addr.arpa,referral:1,restart:3,qrysent:0,timeout:1,lame:0,neterr:0,badresp:0,adberr:6,findfail:0,valfail:0]
24-Mar-2009 08:51:30.715 query-errors: fetch completed at resolver.c:2908 for 161.112.185.194.in-addr.arpa/PTR in 18.591808: out of memory/success [domain:185.194.in-addr.arpa,referral:1,restart:1,qrysent:1,timeout:1,lame:0,neterr:0,badresp:0,adberr:0,findfail:0,valfail:0]
24-Mar-2009 08:51:30.739 query-errors: fetch completed at resolver.c:2908 for ppp85-141-184-239.pppoe.mtu-net.ru/A in 14.649606: out of memory/success [domain:mtu-net.ru,referral:1,restart:1,qrysent:0,timeout:0,lame:0,neterr:0,badresp:0,adberr:1,findfail:0,valfail:0]
24-Mar-2009 08:51:30.812 database: adb: fetch of 'tirant.gva.es' A failed: out of memory
24-Mar-2009 08:51:30.814 database: adb: fetch of 'ns1.pldi.net' A failed: out of memory
24-Mar-2009 08:51:30.898 database: adb: fetch of 'ns1.corporatecolo.com' A failed: out of memory
24-Mar-2009 08:51:30.899 database: adb: fetch of 'ns1.gratisdns.dk' A failed: out of memory
--cut--

What does "database: adb: .. out of memory" mean?
What does "query-errors: fetch completed at ... out of memory/success" mean?

Solaris 10 on a Sun T5140 with 6 cores/96 threads and 16GB of memory: 
	SunOS xxx.xxx.xx 5.10 Generic_138888-01 sun4v sparc SUNW,T5140 Solaris

The named process takes only 170MB:
	Memory: 16G phys mem, 11G free mem, 4104M total swap, 4104M free swap
	 19563 named     99  59    0  171M  169M sleep    1:35  0.00% named

BIND 9.4.3 on the same server (running at the same time as testing 9.6.1b1):
	 10186 named     99  54    0 2990M 2989M cpu/66 5438.0  3.84% named

I tried:
	datasize unlimited;
	stacksize unlimited;
	max-cache-size unlimited;

But it had no effect, I still get just as many "out of memory" lines when running ResPerf.
	resperf -d queryfile-example-3million -e -s <IP address> -m 10000

Plimit reports (on the named process):
	resource              current         maximum
	time(seconds)         unlimited       unlimited
	file(blocks)          unlimited       unlimited
	data(kbytes)          unlimited       unlimited
	stack(kbytes)         unlimited       unlimited
	coredump(blocks)      unlimited       unlimited
	nofiles(descriptors)  unlimited       unlimited
	vmemory(kbytes)       unlimited       unlimited

Any hints on what these "out of memory" messages mean would be appreciated.

Thanks
Jan Arild Lindstrom




More information about the bind-users mailing list