Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 1999 12:31:25 +0200
From:      Andreas Berg <andy@flame.org>
To:        Jaime Kikpole <jaime@malkav.snowmoon.com>, menger@dhs.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: File Descriptors
Message-ID:  <4.2.0.58.19991029122833.0164b5b0@atlantis.fukt.hk-r.se>
In-Reply-To: <Pine.BSF.4.10.9910290622090.87081-100000@malkav.snowmoon.c om>
References:  <Pine.BSF.4.10.9910291445500.354-100000@home.enger.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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