From owner-freebsd-questions Thu Aug 30 8:36:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from spitfire.velocet.net (spitfire.velocet.net [216.138.223.227]) by hub.freebsd.org (Postfix) with ESMTP id 5F8D737B405 for ; Thu, 30 Aug 2001 08:36:25 -0700 (PDT) (envelope-from steve@nomad.tor.lets.net) Received: from nomad.tor.lets.net (H74.C220.tor.velocet.net [216.138.220.74]) by spitfire.velocet.net (Postfix) with SMTP id 40ADE44A9BF for ; Thu, 30 Aug 2001 11:36:12 -0400 (EDT) Received: (qmail 14392 invoked by uid 1001); 30 Aug 2001 15:31:06 -0000 Date: Thu, 30 Aug 2001 11:31:06 -0400 From: Steve Shorter To: freebsd-questions@freebsd.org Subject: Correct way to set kern.maxfiles for increased network sockets? Message-ID: <20010830113106.A14387@nomad.lets.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy! I came across http://www.kegel.com/c10k.html#limits.filehandles while researching how to increase the number of network sockets available. It claims that kern.maxfiles must be set in /boot/loader.conf because of the need to allocate this early in the boot process. Is this correct, or is it Ok to just use /etc/sysctl.conf and set it after boot? thanx - steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message