From owner-freebsd-questions Fri Oct 29 3:32:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mb04.swip.net (mb04.swip.net [193.12.122.208]) by hub.freebsd.org (Postfix) with ESMTP id 0CD9E1553E for ; Fri, 29 Oct 1999 03:32:33 -0700 (PDT) (envelope-from andy@flame.org) Received: from s-709836 (d212-151-62-242.swipnet.se [212.151.62.242]) by mb04.swip.net (8.8.8/8.8.8) with ESMTP id MAA26261; Fri, 29 Oct 1999 12:31:38 +0200 (MET DST) Message-Id: <4.2.0.58.19991029122833.0164b5b0@atlantis.fukt.hk-r.se> X-Sender: andy@atlantis.fukt.hk-r.se X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Fri, 29 Oct 1999 12:31:25 +0200 To: Jaime Kikpole , menger@dhs.org From: Andreas Berg Subject: Re: File Descriptors Cc: freebsd-questions@freebsd.org In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:23 1999-10-29 , Jaime Kikpole wrote: >On Fri, 29 Oct 1999 menger@dhs.org wrote: > > Can anyone tell me how to change the number of File Descriptors > > and maybe a good value. The proxy is serving 200+ machines with about 50+ > > surfing at once. > > If you want to increase the number of FDs on the system, recompile >your kernel with a higher "maxusers" value. Look in the handbook >(http://www.freebsd.org/handbook) for details on how to do this. (It >basically requires changing an obvious line in one file, doing about 4 >specific commands, and rebooting.) You can also increase kern.maxfiles and kern.maxfilesperproc at runtime using sysctl. Increasing NMBCLUSTERS might be a good idea too, but thats not possible through sysctl. netstat -m shows you stats on NMBCLUSTER usage. > Jaime -Andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message