Subject: Re: Setting maxusers on 1.6
To: David Laight <david@l8s.co.uk>
From: Frank DeChellis DSL <frankd@iaw.on.ca>
List: netbsd-help
Date: 02/09/2004 19:12:29
So I can set MAX_KMAPENT and MAXPROC with out worrying about MAX Users.
In 1.6, what is the proper way to change MAX_KMAPENT? I see some posts
saying to increase it and some say that it can't be increased?
Is options MAX_KMAPENT=2048
a valid entry in my config file for the kernel?
Thanks
Frank
On Mon, 9 Feb 2004, David Laight wrote:
> Date: Mon, 9 Feb 2004 22:16:45 +0000
> From: David Laight <david@l8s.co.uk>
> To: Frank DeChellis <frankd@iaw.on.ca>
> Cc: netbsd-help@netbsd.org
> Subject: Re: Setting maxusers on 1.6
>
> On Mon, Feb 09, 2004 at 02:28:46PM -0500, Frank DeChellis wrote:
> > Hey guys,
> >
> > I have a 2.4Gig CPU with 2 Gig RAM running mail, spamd, and apache.
> >
> > I am getting MAX_KMAPENT panics (which is currently set to 1114). I then
> > added a line in the Kernel config to set MAX_KMAPENT to 2048 and maxproc to
> > 1000. But I am reading around that these setting (maxproc and MAX_KMAPENT)
> > are derived from the value of MaxUsers. is this true?
> >
> > If so, where would you set Max Users instead of default 32 user?
>
> I wouldn't bother - only a very few constants are dependant on MAX_USERS,
> and almost all of those are separately settable.
>
> Not only that, but the numbers of 'users' doesn't really relate to the
> required value of any of them!
>
>
> David
>
> --
> David Laight: david@l8s.co.uk
>
-----------------------------------------------------------------------
Frank DeChellis
Internet Access Worldwide
3 East Main Street Welland, Ontario, Canada L3B 3W4
905-714-1400 fax 905-732-0524
www.iaw.com
----------------------------------------------------------------------