Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 1997 23:54:13 -0400
From:      "Mark Segal" <mark@club-web.com>
To:        "Dev Chanchani" <dev@wopr.inetu.net>, <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Named Problems (Too Many Open Files)
Message-ID:  <199710050355.XAA01519@bert.club-web.com>

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

>I have been getting error messages in /var/log/messages from named when it
>tries to do a zone transfer. The error message says the following:
>Oct  4 17:56:58 black-beast named[8649]: startxfr(somename.com.br ->
>[10.1.255.10].3901) failing; pipe: Too many open files
>Now, my question is when is it saying too many open files? The error only
>seems to be comming from named. Does named have too many files open, and
>why would it?

this is probably a result of the fact that named is opening a file for every
IP you are virtually hosting.  This is remedied by telling named to "listen
on" only the localhost and the registered dns port.. ie if your using bind
8.* use the following command in your named.conf
options {
        directory "/etc/namedb";
        listen-on  {127.0.0.1;207.176.196.2;};
};
note: 207.176.196.2 is the regsterd ip for my dns server with the nic.

Mark





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710050355.XAA01519>