Date: Mon, 15 Jan 2001 22:52:36 -0000 From: "G D McKee" <freebsd@gdmckee.com> To: "Roelof Osinga" <roelof@nisser.com>, <questions@FreeBSD.ORG> Subject: Re: increasing max openfiles Message-ID: <001301c07f45$dac9c0a0$0500a8c0@gdmckee.local> References: <NEBBJPKMMLCLAGLGBDFAEECMDCAA.Rick@Tweakers.net> <3A637953.F55908FB@nisser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Where can I get a detailed manual on the BSD Lite Kernel from? G D McKee ----- Original Message ----- From: "Roelof Osinga" <roelof@nisser.com> To: <questions@FreeBSD.ORG> Sent: Monday, January 15, 2001 10:27 PM Subject: Re: increasing max openfiles > Rick Jansen wrote: > > > > How do i compile my kernel with an increased limit of open files? > > I found FD_SETSIZE, but i don't know whether this is what i need, or how to > > use it. Probably "options FD_SETSIZE=x", but i don't know. > > 1024 openfiles isn't enough :/ > > Well, I've done the following adjustments in the NISSER kernel I'm > building: > > maxusers 512 > > # bumping the undocumented feature: > options NMBCLUSTERS=8192 # was 1024 > > # default and maximum segment sizes > options MAXDSIZ="(256*1024*1024)" > options DFLDSIZ="(128*1024*1024)" # was also 256 > > and various others of course <g>. All in all, resulting in: > > nl:/usr/X11R6# sysctl -a | grep maxfiles > kern.maxfiles: 16424 > kern.maxfilesperproc: 16424 > > Would that do the trick? <g> > > Roelof > > -- > Home is where the (@) http://eboa.com/ is. > Nisser home -- http://www.Nisser.com/ > Beveiligingsverwijzingen -- http://Nisser.com/links.htm > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > 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?001301c07f45$dac9c0a0$0500a8c0>