Date: Mon, 15 Jan 2001 23:27:31 +0100 From: Roelof Osinga <roelof@nisser.com> To: questions@FreeBSD.ORG Subject: Re: increasing max openfiles Message-ID: <3A637953.F55908FB@nisser.com> References: <NEBBJPKMMLCLAGLGBDFAEECMDCAA.Rick@Tweakers.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A637953.F55908FB>