Subject: Re: Bind - too many open files
To: Rick Byers <rickb@iaw.on.ca>
From: Patrick Lawrence <pjl@hornet.ns.net>
List: netbsd-help
Date: 12/18/1996 09:58:25
-----BEGIN PGP SIGNED MESSAGE-----

> I've got NetBSD 1.2, and I've been having some trouble with bind, so I
> upgraded it to V4.9.5, but I still have the same problem.  Our machine has
> about 256 IP addresses associated with it's only ethernet interface
> (virtual-host for web-sites), and named allways generates the folling
> errors when I try to restart it:  fcntl(dfd, F_DUPFD, 20): Too many open
> files socket(SOCK_DGRAM): Too many open files - exiting. 
> 
> The only way I can succesfully restart named is to reboot the system.  I
> used to be able to increase the limit of open files, but that has stopped
> working as well.  (ulimit -n 128 used to do the trick, now even ulimit -n
> 2048 gives the same error).  

Rick,

We had the same problem here (only with HP-UX) and the solution was to
increase the max. number of files.  Our first guess was to increase the
number of file handles, but this didn't work.  For some reason, the
virtual interface takes up a lot more file handles with each one added.

Good luck,

Pat
- --
  Patrick Lawrence -- pjl@ns.net     Voice: 916-856-1530  Fax: 916-856-1540
   NSNet - Sacramento's #1 Internet Service Provider     http://www.ns.net
  If this e-mail is not PGP signed then it most likely didn't come from me!
            Goto http://www.ns.net/~pjl for my PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQCVAwUBMrgwxfeauUdpvgwFAQEtQQP/cMBLATmQO5VR9yOaqm+a+OyMoVG0yCsU
ZCYBU35aMkSL4pu+CnAnoDZP+/c/rHLSEsqgUkiJofCrxS5vLgn73YRmsPRfZ3Nf
xRX51WPrHJir1p+62b7W1t6iYPm2ihMhh87/2bF5BDauqMfOZ0do12kpbCYt/PkT
CwHHfS3FPq0=
=mZBM
-----END PGP SIGNATURE-----