Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 1997 11:54:01 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        neil@corpex.com (Neil), freebsd-questions@FreeBSD.ORG (Questions Freebsd)
Subject:   Re: Named open files
Message-ID:  <3.0.32.19970115115400.009585b0@sentex.net>

next in thread | raw e-mail | index | archive | help
At 04:26 PM 1/15/97 +0000, Neil wrote:
>Hi,
>	We are running  named 4.9.4-P1 under freebsd 2.1.0 on a P166,
>The kernel has been recompiled with the following options
>
>maxusers 64
>options	"CHILD_MAX=128"
>options	"OPEN_MAX=360"
>
>	It also got approx 300 IP numbers ifconfig'd as aliases to the
>ep0 ethernet port.
>
>	Now sometimes when named is rebooted, we get the following error.
>
>named[6931]: socket(SOCK_DGRAM): Too many open files - exiting
>
>	I assume this has to do with ifconfig and named trying to bind to
>too many IP numbers. Now is there a patch for named that we can use?


In your named.restart, add something like

ulimit -n 1000

This will allow the process to have as many as 1000 files open...

	---Mike



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