Re: maxproc is automatically adjusted?
On Tue, Mar 23, 2004 at 09:55:01AM -0500, Jerry McAllister wrote: > > > > Thanks for your answer. > > > > I only dont know where to find the LINT file in the src tree. > > in /usr/src i tried find . -name LINT > > but no result. (sorry for this luser question). > > I don't know if 5.xxx changes this, but /usr/src/sys/i386/conf/ > does it for 4.xxx and older. In 5.x the LINT config file is dynamically generated from various NOTES files -- it's the NOTES files that have all the useful comments and stuff, whereas the LINT config generated from them has been stripped down. NOTES is divided into architecture dependent and architecture independent parts -- use: % find /usr/src/sys -name NOTES -print to locate what you need. The point of splitting up NOTES in this way is to avoid having to make the same set of edits to half a dozen or so kernel configs whenever anything generic changes. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: maxproc is automatically adjusted?
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: voidinit_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. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
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. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
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. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
> > Thanks for your answer. > > I only dont know where to find the LINT file in the src tree. > in /usr/src i tried find . -name LINT > but no result. (sorry for this luser question). I don't know if 5.xxx changes this, but /usr/src/sys/i386/conf/ does it for 4.xxx and older. jerry > Bye, > > Mipam. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
At 13:33 23/03/2004, Mipam wrote: >On Tue, 23 Mar 2004, Richard P. Williamson wrote: > >> At 13:13 23/03/2004, Mipam wrote: >> >Thanks for your answer. >> > >> >I only dont know where to find the LINT file in the src tree. >> >in /usr/src i tried find . -name LINT >> >but no result. (sorry for this luser question). >> >Bye, >> >> For 4.8 and that era, if you installed the source when >>... >I didnt install the source when installing FreeBSD. >I obtained 5.2.1-p3 by cvsup. Does that get you the source? I don't know--I don't use cvsup, and I'm locked into 4.8 at the moment. So I can't help further. Others should be able to answer the question, though. regards, rip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
On Tue, 23 Mar 2004, Richard P. Williamson wrote: > At 13:13 23/03/2004, Mipam wrote: > >Thanks for your answer. > > > >I only dont know where to find the LINT file in the src tree. > >in /usr/src i tried find . -name LINT > >but no result. (sorry for this luser question). > >Bye, > > PMFBI > > obligatory winge: Where's the context of that follow-on question? > > For 4.8 and that era, if you installed the source when > installing FreeBSD, look for > > /usr/src/sys/i386/conf/LINT I didnt install the source when installing FreeBSD. I obtained 5.2.1-p3 by cvsup. I still cannot find the file LINT, it doesnt seem to be there. Where can i find it? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
At 13:13 23/03/2004, Mipam wrote: >Thanks for your answer. > >I only dont know where to find the LINT file in the src tree. >in /usr/src i tried find . -name LINT >but no result. (sorry for this luser question). >Bye, PMFBI obligatory winge: Where's the context of that follow-on question? For 4.8 and that era, if you installed the source when installing FreeBSD, look for /usr/src/sys/i386/conf/LINT Try: % cd /usr/src/sys/i386/conf % config LINT % cd ../../compile/LINT % make depend % make % ls -l kernel Note you probably don't want to install this kernel. rip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
Thanks for your answer. I only dont know where to find the LINT file in the src tree. in /usr/src i tried find . -name LINT but no result. (sorry for this luser question). Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: maxproc is automatically adjusted?
--- Mipam <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed that kern.maxproc was different than i expected. > Same goes for maxusers. It seems FreeBSD sizes these values > according to > your system? I couldnt find any info upon this, whether this > is happening > and how and on bases upon what it sizes these sysctl's. > Can anybody give me more info on this? > Bye, > > Mipam. To... See file LINT on your src tree there are some explanation about that. Maybe this help, Pote Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
maxproc is automatically adjusted?
Hi, I noticed that kern.maxproc was different than i expected. Same goes for maxusers. It seems FreeBSD sizes these values according to your system? I couldnt find any info upon this, whether this is happening and how and on bases upon what it sizes these sysctl's. Can anybody give me more info on this? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"