From: root@lmig.com
Newsgroups: ne.nearnet.tech
Subject: RS/6000 AIX3.2 named
Date: 18 Aug 92 22:12:23 GMT
Organization: NEARnet News/Mail Gateway
Distribution: ne



Ever since I installed this machine, the named daemon appeared to grab 
increasing amounts of CPU and memory until it became totally unresponsive.
This usually took about 3-4 days at which time killing and restarting named
would clear it up and the cycle would start again.

What I think is happenning is that named is not receiving responses correctly
and is resending to other root domain name servers.  As the number of requests
pile up over time as well as the "echoes" from all the resends, the CPU may be
getting overloaded.

One (of many) things I don't understand is that often when a DNS query is 
invoked, it will time out, only to succeed if the same query is immediately
repeated.  (By this time, maybe named has the answer cached locally? ... only
how did it get it, if it's always complaining about FORMERR's.).

The following is the first 100 lines from my named.run file, created with 
debugging set to 1.  If you've heard of similar problems with AIX3.2 named
on an RS/6000, or have any suggestions, please let me know.

Thanks, 
Dave Remillard   (dar@lmig.com)
Liberty Mutual I/S

====================BEGIN named.run INCLUDED FILE==============================


Debug turned ON, Level 1
Version = named 4.8.1 #0: Sat Nov 23 12:55:41 CST 1991
	root@leghorn:/LEGHORN/tcpip/3.2/src/nls/sockcmd/named
	bootfile = /etc/named.boot

ns_init(/etc/named.boot)
zone origin ., source = named.ca
reloading zone
db_load(named.ca, , 0, 0)
zone[0] type 3: '.' z_time 0, z_refresh 0
zone origin lmig.com
	addrs: 136.184.1.112, addrcnt = 1
db_load(named.lmig.com.bak, lmig.com, 1, 0)
zone[1] type 2: 'lmig.com' z_time 714176864, z_refresh 7200
zone origin 184.136.in-addr.arpa
	addrs: 136.184.1.112, addrcnt = 1
db_load(named.lmig.com.rev.bak, 184.136.in-addr.arpa, 2, 0)
zone[2] type 2: '184.136.in-addr.arpa' z_time 714176863, z_refresh 7200
zone origin 0.0.127.in-addr.arpa, source = named.local
reloading zone
db_load(named.local, 0.0.127.in-addr.arpa, 3, 0)
zone[3] type 1: '0.0.127.in-addr.arpa' z_time 709589788, z_refresh 300
exit ns_init() Next interrupt in 0 sec
database initialized
loopback address: x7f000001
net x88b80000 mask xffff0000 my_addr x88b80f0a 136.184.15.10
dqp->dq_addr 0.0.0.0 d_dfd 8
dqp->dq_addr 136.184.15.10 d_dfd 9
dqp->dq_addr 127.0.0.1 d_dfd 10
Ready to answer queries.
prime_cache: priming = 0
sysquery: send -> 192.5.25.82 8 (53), nsid=1 id=0 0ms

ns_maint()
exit ns_maint() Next interrupt in 900 sec

datagram from 192.5.25.82 port 53, fd 8, len 361
FORMERR resp() from 192.5.25.82 size err 361, msglen 361

datagram from 136.184.1.112 port 53, fd 8, len 36
req: nlookup(enterprise.unh.edu) id 55 type=1
req: found 'enterprise.unh.edu' as 'edu' (cname=0)
forw: forw -> 128.63.4.82 8 (53) nsid=2 id=55 0ms retry 4 sec
resend(addr=1 n=0) -> 192.33.4.12 8 (53) nsid=1 id=0 0ms

datagram from 192.33.4.12 port 53, fd 8, len 361
FORMERR resp() from 192.33.4.12 size err 361, msglen 361

datagram from 128.63.4.82 port 53, fd 8, len 226
FORMERR resp() from 128.63.4.82 size err 226, msglen 226

datagram from 136.184.1.112 port 53, fd 8, len 36
req: nlookup(enterprise.unh.edu) id 56 type=1
req: found 'enterprise.unh.edu' as 'unh.edu' (cname=0)
forw: forw -> 132.177.128.56 8 (53) nsid=3 id=56 0ms retry 4 sec

datagram from 132.177.128.56 port 53, fd 8, len 52
send_msg -> 136.184.1.112 (UDP 9 53) id=56

datagram from 132.177.128.99 port 53, fd 8, len 44
req: nlookup(208.3.184.136.in-addr.arpa) id 2433 type=12
req: found '208.3.184.136.in-addr.arpa' as '208.3.184.136.in-addr.arpa' (cname=0)
req: answer -> 132.177.128.99 9 (53) id=2433 Remote
resend(addr=1 n=0) -> 26.3.0.29 8 (53) nsid=2 id=55 0ms
resend(addr=2 n=0) -> 128.8.10.90 8 (53) nsid=1 id=0 0ms

datagram from 128.8.10.90 port 53, fd 8, len 361
FORMERR resp() from 128.8.10.90 size err 361, msglen 361

datagram from 26.3.0.29 port 53, fd 8, len 226
FORMERR resp() from 26.3.0.29 size err 226, msglen 226
resend(addr=2 n=0) -> 192.5.25.82 8 (53) nsid=2 id=55 0ms
resend(addr=3 n=0) -> 192.33.33.24 8 (53) nsid=1 id=0 529ms

datagram from 192.5.25.82 port 53, fd 8, len 226
FORMERR resp() from 192.5.25.82 size err 226, msglen 226

datagram from 192.33.33.24 port 53, fd 8, len 361
FORMERR resp() from 192.33.33.24 size err 361, msglen 361
resend(addr=3 n=0) -> 192.33.33.24 8 (53) nsid=2 id=55 0ms
resend(addr=4 n=0) -> 128.102.16.10 8 (53) nsid=1 id=0 0ms

datagram from 192.33.33.24 port 53, fd 8, len 226
FORMERR resp() from 192.33.33.24 size err 226, msglen 226

datagram from 128.102.16.10 port 53, fd 8, len 361
FORMERR resp() from 128.102.16.10 size err 361, msglen 361
resend(addr=4 n=0) -> 192.112.36.4 8 (53) nsid=2 id=55 0ms
resend(addr=5 n=0) -> 192.112.36.4 8 (53) nsid=1 id=0 0ms

datagram from 192.112.36.4 port 53, fd 8, len 226
FORMERR resp() from 192.112.36.4 size err 226, msglen 226

datagram from 192.112.36.4 port 53, fd 8, len 361
FORMERR resp() from 192.112.36.4 size err 361, msglen 361
resend(addr=5 n=0) -> 192.33.4.12 8 (53) nsid=2 id=55 0ms
resend(addr=6 n=0) -> 192.52.195.10 8 (53) nsid=1 id=0 0ms

datagram from 192.33.4.12 port 53, fd 8, len 226
FORMERR resp() from 192.33.4.12 size err 226, msglen 226

datagram from 192.52.195.10 port 53, fd 8, len 361
FORMERR resp() from 192.52.195.10 size err 361, msglen 361
resend(addr=6 n=0) -> 192.36.148.17 8 (53) nsid=2 id=55 0ms
resend(addr=7 n=0) -> 192.36.148.17 8 (53) nsid=1 id=0 0ms

datagram from 192.36.148.17 port 53, fd 8, len 226
FORMERR resp() from 192.36.148.17 size err 226, msglen 226

datagram from 192.36.148.17 port 53, fd 8, len 361
FORMERR resp() from 192.36.148.17 size err 361, msglen 361
resend(addr=7 n=0) -> 128.8.10.90 8 (53) nsid=2 id=55 0ms
resend(addr=0 n=1) -> 192.5.25.82 8 (53) nsid=1 id=0 1649ms

=================END (1st 100 lines) of named.ca INCLUDED FILE ================