Date: Tue, 23 Mar 2004 15:35:42 +0100 (MET) From: Mipam <mipam@ibb.net> To: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> Cc: mipam@ibb.net Subject: Re: maxproc is automatically adjusted? Message-ID: <Pine.LNX.4.33.0403231526280.11034-100000@ux1.ibb.net> In-Reply-To: <40605572.2030504@daleco.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, i read it. I also found this: # The `maxusers' parameter controls the static sizing of a number of # internal system tables by a formula defined in subr_param.c. # Omitting this parameter or setting it to 0 will cause the system to # auto-size based on physical memory. And looking at some source files: maxusers = physpages / (2 * 1024 * 1024 / PAGE_SIZE) PAGE_SIZE is the amount of swap as reported in pfstat -s? I wasnt able to find out what physpages are only this: void init_param2(long physpages); But that still didnt give me a clue what it shoud represent, any hints here? maxproc = physpages / 12; maxprocperuid = (maxproc * 9) / 10; Would physpages be the amount of available RAM? In my case with 512 MB of RAM I'll get kern.maxproc: 4036 So in my case physpages is 49032? Bye, Mipam. On Tue, 23 Mar 2004, Kevin D. Kinsey, DaleCo, S.P. wrote: > Mipam wrote: > > >Okay, i found LINT, that is, > >in /usr/src/sys/i386/conf i did make LINT and the file was created. > >But i still didnt find the answers i was looking for, like > >kern.maxusers seems to be sized automatically based on you hardware? > >And so maxproc etc? I still didnt find further docs about this > >and how it works. Any places where i can RTFM about it? > >Bye, > > > >Mipam. > > > > > > > > > > loader.conf(5) > > Kevin Kinsey > DaleCo, S.P. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0403231526280.11034-100000>
