Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 1996 11:56:58 -0800
From:      Chris Bura <chris@main.Netcorps.com>
To:        questions@freebsd.org
Subject:   "Too many open files" Question
Message-ID:  <32C03589.1C05@netcorps.com>

next in thread | raw e-mail | index | archive | help

I have a FreeBSD machine acting as both my primary name server
and my web-server.

Problem:  When I edit an entry in my DNS and then run Kill -HUP PID
my name server does not restart.  This is the message I get
in /var/log/messages:
-------
Dec 24 11:27:33 main named[68]: reloading nameserver
Dec 24 11:27:33 main named[68]: socket(SOCK_DGRAM): Too many open files
- exiting
-------
I've tried, named.restart, named.reload, named -b ....
However, if I reboot, the name server reloads just fine.
I've increased the MAX_OPEN significantly.  Didn't help.

I also have a BSD machine as my secondary which reloads just fine.
The resources difference in the 2 machines.
1: -runs primary DNS
   -http with about 118 virtual servers.
   -about 118 ifconfigs binding IP addresses for those virtual servers.
   -everything else is pretty standard - sendmail, etc.

2: -runs secondary DNS
   -no https
   -no ifconfigs for virtual sites.

Any help would be greatly appreciated.

Thanks,

Chris Bura
chris@netcorps.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32C03589.1C05>