From owner-freebsd-isp Sat Oct 4 20:53:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA22866 for isp-outgoing; Sat, 4 Oct 1997 20:53:08 -0700 (PDT) Received: from bert.club-web.com (bert.club-web.com [207.176.196.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA22861 for ; Sat, 4 Oct 1997 20:53:05 -0700 (PDT) Received: from mark.club-web.com (dial-102.club-web.com [207.176.196.22]) by bert.club-web.com (8.8.6/8.8.6) with SMTP id XAA01519; Sat, 4 Oct 1997 23:55:54 -0400 (EDT) Message-Id: <199710050355.XAA01519@bert.club-web.com> From: "Mark Segal" To: "Dev Chanchani" , Subject: Re: Named Problems (Too Many Open Files) Date: Sat, 4 Oct 1997 23:54:13 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1008.3 X-MimeOle: Produced By Microsoft MimeOLE Engine V4.71.1008.3 Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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