DNS Help
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Fri Aug 6 01:28:49 UTC 1999
> Hello,
> I just upgraded to bind 8.2.1 on a BSDI 4.0.1 server. Whenever I
> start it up, I am getting accept: Too many files open errors. I also
> have about 120+ ip addresses bound to one ethernet interface. Is
> there a way that I can tell bind to just listen on 1 IP address as
> opposed to trying to bind itself to all 120?
>
> Thanks
>
> Jim
>
>
Apply the following patch and / or use listen-on (as you have
been told by Barry).
Mark
Index: lib/isc/eventlib.c
===================================================================
RCS file: /proj/cvs/isc/bind/src/lib/isc/eventlib.c,v
retrieving revision 1.41
diff -c -r1.41 eventlib.c
*** eventlib.c 1999/06/03 20:36:04 1.41
--- eventlib.c 1999/07/06 03:46:14
***************
*** 82,88 ****
ctx->fdMax = -1;
ctx->fdNext = NULL;
ctx->fdCount = 0; /* Invalidate {rd,wr,ex}Last. */
! ctx->highestFD = MIN(sysconf(_SC_OPEN_MAX), FD_SETSIZE) - 1;
#ifdef EVENTLIB_TIME_CHECKS
ctx->lastFdCount = 0;
#endif
--- 82,88 ----
ctx->fdMax = -1;
ctx->fdNext = NULL;
ctx->fdCount = 0; /* Invalidate {rd,wr,ex}Last. */
! ctx->highestFD = FD_SETSIZE - 1;
#ifdef EVENTLIB_TIME_CHECKS
ctx->lastFdCount = 0;
#endif
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list