Subject: bin/5772: named coredumped
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 07/16/1998 12:59:52
>Number:         5772
>Category:       bin
>Synopsis:       "datasize limited" named coredumped
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 16 04:05:01 1998
>Last-Modified:
>Originator:     Thilo Manske
>Organization:
Netzwerkadministration HEH Oldenburg
>Release:        NetBSD 1.3.2
>Environment:
	
System: NetBSD Server 1.3.2 NetBSD 1.3.2 (HEHOL) #17: Thu Jul 2 20:59:03 MEST 1998 thilo@Server:/usr/src/sys.old/arch/i386/compile/HEHOL i386


>Description:
named 4.9.7-T1B coredumped with the message:
Jul 16 12:06:16 Server named[28796]: savedata: malloc: Cannot allocate memory - ABORT

The /etc/namedb/named.boot file: <<ENDOFIT

directory	/etc/namedb

; type    domain		    source host/file		backup file
primary   HEH.Uni-Oldenburg.DE      hosts
primary	  148.106.134.IN-ADDR.ARPA  hosts.rev
primary   0.0.127.IN-ADDR.ARPA 	    localhost.rev
primary   137.106.134.IN-ADDR.ARPA  extern.rev

cache     .                                                     root.cache

limit datasize 8M
check-names primary warn
check-names response ignore

ENDOFIT

BTW: Everythink worked fine for months without the "limit datasize".
(I'll remove it...)
Besides being (obviously) the primary name server for a small domain
this DN-server is used as a cache server by about 75 PCs; approx. max.
40% of them active at the same time.

>How-To-Repeat:
Put some load on a "datasize limited" named server. (?!?)
Just a guess - I can't experiment much with this server...
>Fix:
  Sorry, don't know...
>Audit-Trail:
>Unformatted: