Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 1996 06:48:40 -0200 (EDT)
From:      "Alexsandro D. F. Correia" <acorreia@marlin.com.br>
To:        Chris Bura <chris@main.Netcorps.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: "Too many open files" Question
Message-ID:  <Pine.BSF.3.91.961226064404.16078A-100000@blue.marlin.com.br>
In-Reply-To: <32C03589.1C05@netcorps.com>

index | next in thread | previous in thread | raw e-mail

HI Chris,

I had the same problem here.

To solve this, you will need to recompile your Kernel.

Increase the maxusers options to 32. I think this option in your kernel 
is setted to 10 ( default value ).

Also add this two lines :

options 	"CHILD_MAX=128"
options		"OPEN_MAX=128"

This will solve your problem.

Alexsandro


On Tue, 24 Dec 1996, Chris Bura wrote:

> I have a FreeBSD machine acting as both my primary name server
> and my web-server.
> 
> Problem:  When I edit an entry in my DNS and then run Kill -HUP PID
> my name server does not restart.  This is the message I get
> in /var/log/messages:
> -------
> Dec 24 11:27:33 main named[68]: reloading nameserver
> Dec 24 11:27:33 main named[68]: socket(SOCK_DGRAM): Too many open files
> - exiting
> -------
> I've tried, named.restart, named.reload, named -b ....
> However, if I reboot, the name server reloads just fine.
> I've increased the MAX_OPEN significantly.  Didn't help.
> 
> I also have a BSD machine as my secondary which reloads just fine.
> The resources difference in the 2 machines.
> 1: -runs primary DNS
>    -http with about 118 virtual servers.
>    -about 118 ifconfigs binding IP addresses for those virtual servers.
>    -everything else is pretty standard - sendmail, etc.
> 
> 2: -runs secondary DNS
>    -no https
>    -no ifconfigs for virtual sites.
> 
> Any help would be greatly appreciated.
> 
> Thanks,
> 
> Chris Bura
> chris@netcorps.com
> 

+-------------------------------------------------------------+
     Alexsandro Correia		E-mail: acorreia@marlin.com.br
 Analista de Suporte Internet   Tel : +55 21 224-9950
				      +55 21 253-2971
+-------------------------------------------------------------+
 Marlin Internet		http://www.marlin.com.br
 Rua 7 de Setembro 48/13 Andar  Tel: +55 21 224-9950
 Centro - Rio de Janeiro	Fax: +55 21 223-427
 RJ - Brasil
+-------------------------------------------------------------+



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961226064404.16078A-100000>