Subject: Wierd DNS Problem
To: None <netbsd-help@netbsd.org>
From: Frank DeChellis <frankd@iaw.on.ca>
List: netbsd-help
Date: 05/17/2000 10:24:52
Hi!

We're running NetBSD 1.4.2 and bind 8...everything works great except one
thing.

Our named.conf specifies 512 files.  We have 420 domains.  When we type
named.reload or named.restart the name server stops running and we get
tonnes of the following message in /var/log/daemon:

May  1 13:00:02 canal named[14444]: accept: Too many open files
May  1 13:00:02 canal named[14444]: ctl_accept: accept: Too many open file

I'm talking like 100 Meg/hour in log messages....

BUT....if I kill the named process and strat it again /usr/sbin/named it
comes up OK...

BUT then about 20 minutes after, my What's Up monitor pages me and says that
my DNS server is down...but it "ain't"

this is the named.reload script:

exec /usr/sbin/ndc -s reload

when I put ndc in debug more I get these 2 message then nothing:

ndc: [isc/ctl_clnt::new_state: initializing -> connecting]
ndc: [isc/ctl_clnt::new_state: connecting -> connected]

and the daemon log file starts to fill up like crazzzzzzzzzy.

Anyway...anybody have any ideas?

Thanks
Frank

----------------------------------------------------------------------------
-------------
Frank DeChellis,        President
Internet Access Worldwide  905-714-1400
Welland, Ontario, Canada
http://www.iaw.on.ca
Learn On-line http://www.school.iaw.com
My family is at http://www.dechellis.iaw.on.ca

----------------------------------------------------------------------------
------------