git: 191c624d9519 - main - config(5): Update upper limit for maxusers on 64-bit systems
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Oct 2021 18:20:51 UTC
The branch main has been updated by ygy (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=191c624d9519a2767801de390b192ee7a96b41cd
commit 191c624d9519a2767801de390b192ee7a96b41cd
Author: Felix Johnson <felix.the.red@gmail.com>
AuthorDate: 2021-10-28 18:15:08 +0000
Commit: Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-10-28 18:15:08 +0000
config(5): Update upper limit for maxusers on 64-bit systems
The limit of 384 maxusers for auto configuration was only imposed on
32-bit systems. Document that maxusers scales above 384 based on memory
for 64-bit systems.
PR: 204938
MFC after: 3 days
Reported by: David Höppner <0xffea@gmail.com>
---
usr.sbin/config/config.5 | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/config/config.5 b/usr.sbin/config/config.5
index 433194f3b22b..134e321831d8 100644
--- a/usr.sbin/config/config.5
+++ b/usr.sbin/config/config.5
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 9, 2020
+.Dd October 28, 2021
.Dt CONFIG 5
.Os
.Sh NAME
@@ -329,7 +329,9 @@ A value of 0 indicates that the kernel should configure
its data structures according to the size of available
physical memory.
If auto configuration is requested, the kernel will set
-this tunable to a value between 32 and 384.
+this tunable to a value between 32 and 384 for 32-bit systems,
+or scale the value higher based on available memory for 64-bit
+systems.
.Pp
As explained in
.Xr tuning 7 ,