Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Dec 2001 18:27:07 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        arch@FreeBSD.org
Subject:   Re: Default value for maxusers
Message-ID:  <3C117A7B.C58E1654@mindspring.com>
References:  <Pine.NEB.3.96L.1011207131905.42713G-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Robert Watson wrote:
> 
> While reviewing and updating the content of tuning(7), I noticed the
> following text:
> 
>      The kern.maxusers tunable defaults to an incredibly low value.  For most
>      modern machines, you probably want to increase this value to 64, 128, or
>      256.

[ ... ]

> The first two sentences suggest that either we need to do one of the
> following:
> 
> (1) Update the default maxusers value in GENERIC to something larger
>     (perhaps 64), and remove the text from tuning(7), or...
> 
> (2) Remove this text from tuning(7).

You need to look at the code, and not just trust the tuning page.

There are plenty of things that are based on the compilation time
math that occurs, which will not change, should you modify the
value using this tuning variable.

In addition, there are things bound together that should not be;
for example, the number of UDP and TCP connection reserves for
pcb's for both protocols, which I broke apart with a patch posted
to -current about 4 months ago.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C117A7B.C58E1654>