The following diff causes all 64-bit platforms to use the same maxusers
settings. (which in turn affects the maxprocess, maxthread, maxfiles and
initialvnodes kernel variables)

Index: sys/arch/alpha/conf/files.alpha
===================================================================
RCS file: /OpenBSD/src/sys/arch/alpha/conf/files.alpha,v
retrieving revision 1.107
diff -u -p -r1.107 files.alpha
--- sys/arch/alpha/conf/files.alpha     14 Feb 2018 23:51:49 -0000      1.107
+++ sys/arch/alpha/conf/files.alpha     28 Feb 2021 17:36:45 -0000
@@ -6,7 +6,7 @@
 # maxpartitions must be first item in files.${ARCH}
 maxpartitions 16
 
-maxusers 2 8 128
+maxusers 2 16 128
 
 # this loses, but there's no way to define attributes which have attributes
 define alpha_shared_intr
Index: sys/arch/arm64/conf/files.arm64
===================================================================
RCS file: /OpenBSD/src/sys/arch/arm64/conf/files.arm64,v
retrieving revision 1.32
diff -u -p -r1.32 files.arm64
--- sys/arch/arm64/conf/files.arm64     25 Jul 2020 12:26:09 -0000      1.32
+++ sys/arch/arm64/conf/files.arm64     28 Feb 2021 17:36:45 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: files.arm64,v 1.32 2020/07/25 12:26:09 tobhe Exp $
 
 maxpartitions  16
-maxusers       2 8 128
+maxusers       2 16 128
 
 major  {wd = 16}
 major  {sd = 24}
Index: sys/arch/loongson/conf/GENERIC
===================================================================
RCS file: /OpenBSD/src/sys/arch/loongson/conf/GENERIC,v
retrieving revision 1.64
diff -u -p -r1.64 GENERIC
--- sys/arch/loongson/conf/GENERIC      4 Feb 2021 16:25:39 -0000       1.64
+++ sys/arch/loongson/conf/GENERIC      28 Feb 2021 17:36:45 -0000
@@ -11,7 +11,7 @@
 
 machine                loongson mips64
 include                "../../../conf/GENERIC"
-maxusers       32
+maxusers       80
 
 option         CPU_LOONGSON2
 option         CPU_LOONGSON3
Index: sys/arch/loongson/conf/files.loongson
===================================================================
RCS file: /OpenBSD/src/sys/arch/loongson/conf/files.loongson,v
retrieving revision 1.26
diff -u -p -r1.26 files.loongson
--- sys/arch/loongson/conf/files.loongson       30 Sep 2020 22:23:41 -0000      
1.26
+++ sys/arch/loongson/conf/files.loongson       28 Feb 2021 17:36:45 -0000
@@ -2,7 +2,7 @@
 
 # Standard stanzas config(8) can't run without
 maxpartitions 16
-maxusers 2 8 64
+maxusers 2 16 128
 
 # Major number for block devices, for ``root on'' lines
 major  { sd = 0 }
Index: sys/arch/octeon/conf/GENERIC
===================================================================
RCS file: /OpenBSD/src/sys/arch/octeon/conf/GENERIC,v
retrieving revision 1.58
diff -u -p -r1.58 GENERIC
--- sys/arch/octeon/conf/GENERIC        4 Feb 2021 16:25:39 -0000       1.58
+++ sys/arch/octeon/conf/GENERIC        28 Feb 2021 17:36:45 -0000
@@ -11,7 +11,7 @@
 
 machine                octeon mips64
 include                "../../../conf/GENERIC"
-maxusers       32
+maxusers       80
 
 option         CPU_MIPS64R2
 option         CPU_OCTEON
Index: sys/arch/octeon/conf/files.octeon
===================================================================
RCS file: /OpenBSD/src/sys/arch/octeon/conf/files.octeon,v
retrieving revision 1.58
diff -u -p -r1.58 files.octeon
--- sys/arch/octeon/conf/files.octeon   25 Oct 2020 10:31:33 -0000      1.58
+++ sys/arch/octeon/conf/files.octeon   28 Feb 2021 17:36:45 -0000
@@ -2,7 +2,7 @@
 
 # Standard stanzas config(8) can't run without
 maxpartitions 16
-maxusers 2 8 64
+maxusers 2 16 128
 
 # Major number for block devices, for ``root on'' lines
 major  { sd = 0 }
Index: sys/arch/powerpc64/conf/files.powerpc64
===================================================================
RCS file: /OpenBSD/src/sys/arch/powerpc64/conf/files.powerpc64,v
retrieving revision 1.26
diff -u -p -r1.26 files.powerpc64
--- sys/arch/powerpc64/conf/files.powerpc64     23 Jan 2021 12:10:08 -0000      
1.26
+++ sys/arch/powerpc64/conf/files.powerpc64     28 Feb 2021 17:36:45 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: files.powerpc64,v 1.26 2021/01/23 12:10:08 kettenis Exp $
 
 maxpartitions  16
-maxusers       2 8 128
+maxusers       2 16 128
 
 major  {rd = 2}
 major  {sd = 3}
Index: sys/arch/sgi/conf/GENERIC-IP22
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/GENERIC-IP22,v
retrieving revision 1.18
diff -u -p -r1.18 GENERIC-IP22
--- sys/arch/sgi/conf/GENERIC-IP22      14 Feb 2018 23:51:49 -0000      1.18
+++ sys/arch/sgi/conf/GENERIC-IP22      28 Feb 2021 17:36:45 -0000
@@ -13,7 +13,7 @@
 
 machine                sgi mips64
 include                "../../../conf/GENERIC"
-maxusers       32              # Estimated number of users
+maxusers       80              # Estimated number of users
 
 # Make options
 makeoption     LINK_ADDRESS="0xffffffff88800000"
Index: sys/arch/sgi/conf/GENERIC-IP26
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/GENERIC-IP26,v
retrieving revision 1.4
diff -u -p -r1.4 GENERIC-IP26
--- sys/arch/sgi/conf/GENERIC-IP26      14 Feb 2018 23:51:49 -0000      1.4
+++ sys/arch/sgi/conf/GENERIC-IP26      28 Feb 2021 17:36:45 -0000
@@ -13,7 +13,7 @@
 
 machine                sgi mips64
 include                "../../../conf/GENERIC"
-maxusers       32              # Estimated number of users
+maxusers       80              # Estimated number of users
 
 # Make options
 makeoption     LINK_ADDRESS="0xa800000008010000"
Index: sys/arch/sgi/conf/GENERIC-IP27
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/GENERIC-IP27,v
retrieving revision 1.68
diff -u -p -r1.68 GENERIC-IP27
--- sys/arch/sgi/conf/GENERIC-IP27      4 Feb 2021 16:25:39 -0000       1.68
+++ sys/arch/sgi/conf/GENERIC-IP27      28 Feb 2021 17:36:45 -0000
@@ -13,7 +13,7 @@
 
 machine                sgi mips64
 include                "../../../conf/GENERIC"
-maxusers       32              # Estimated number of users
+maxusers       80              # Estimated number of users
 
 # Make options
 makeoption     LINK_ADDRESS="0xa800000000040000"
Index: sys/arch/sgi/conf/GENERIC-IP28
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/GENERIC-IP28,v
retrieving revision 1.6
diff -u -p -r1.6 GENERIC-IP28
--- sys/arch/sgi/conf/GENERIC-IP28      14 Feb 2018 23:51:49 -0000      1.6
+++ sys/arch/sgi/conf/GENERIC-IP28      28 Feb 2021 17:36:45 -0000
@@ -13,7 +13,7 @@
 
 machine                sgi mips64
 include                "../../../conf/GENERIC"
-maxusers       32              # Estimated number of users
+maxusers       80              # Estimated number of users
 
 # Make options
 makeoption     LINK_ADDRESS="0xa800000020020000"
Index: sys/arch/sgi/conf/GENERIC-IP30
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/GENERIC-IP30,v
retrieving revision 1.61
diff -u -p -r1.61 GENERIC-IP30
--- sys/arch/sgi/conf/GENERIC-IP30      4 Feb 2021 16:25:39 -0000       1.61
+++ sys/arch/sgi/conf/GENERIC-IP30      28 Feb 2021 17:36:45 -0000
@@ -13,7 +13,7 @@
 
 machine                sgi mips64
 include                "../../../conf/GENERIC"
-maxusers       32              # Estimated number of users
+maxusers       80              # Estimated number of users
 
 # Make options
 makeoption     LINK_ADDRESS="0xa800000020020000"
Index: sys/arch/sgi/conf/GENERIC-IP32
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/GENERIC-IP32,v
retrieving revision 1.52
diff -u -p -r1.52 GENERIC-IP32
--- sys/arch/sgi/conf/GENERIC-IP32      4 Feb 2021 16:25:39 -0000       1.52
+++ sys/arch/sgi/conf/GENERIC-IP32      28 Feb 2021 17:36:45 -0000
@@ -13,7 +13,7 @@
 
 machine                sgi mips64
 include                "../../../conf/GENERIC"
-maxusers       32              # Estimated number of users
+maxusers       80              # Estimated number of users
 
 # Make options
 makeoption     LINK_ADDRESS="0xffffffff80100000"
Index: sys/arch/sgi/conf/files.sgi
===================================================================
RCS file: /OpenBSD/src/sys/arch/sgi/conf/files.sgi,v
retrieving revision 1.56
diff -u -p -r1.56 files.sgi
--- sys/arch/sgi/conf/files.sgi 8 Jun 2017 11:47:24 -0000       1.56
+++ sys/arch/sgi/conf/files.sgi 28 Feb 2021 17:36:45 -0000
@@ -4,7 +4,7 @@
 #
 maxpartitions 16
 
-maxusers 2 8 64
+maxusers 2 16 128
 
 #      Required files
 
Index: sys/arch/sparc64/conf/GENERIC
===================================================================
RCS file: /OpenBSD/src/sys/arch/sparc64/conf/GENERIC,v
retrieving revision 1.316
diff -u -p -r1.316 GENERIC
--- sys/arch/sparc64/conf/GENERIC       4 Feb 2021 16:25:39 -0000       1.316
+++ sys/arch/sparc64/conf/GENERIC       28 Feb 2021 17:36:45 -0000
@@ -11,7 +11,7 @@
 
 machine                sparc64
 include                "../../../conf/GENERIC"
-maxusers       64                      # estimated number of users
+maxusers       80                      # estimated number of users
 
 option         SUN4US
 option         SUN4V
Index: sys/arch/sparc64/conf/files.sparc64
===================================================================
RCS file: /OpenBSD/src/sys/arch/sparc64/conf/files.sparc64,v
retrieving revision 1.154
diff -u -p -r1.154 files.sparc64
--- sys/arch/sparc64/conf/files.sparc64 13 Aug 2020 10:04:37 -0000      1.154
+++ sys/arch/sparc64/conf/files.sparc64 28 Feb 2021 17:36:45 -0000
@@ -4,7 +4,7 @@
 # maxpartitions must be first item in files.${ARCH}
 maxpartitions 16
 
-maxusers 2 8 1024
+maxusers 2 16 128
 
 define mainbus {}
 device mainbus: pcibus, mainbus

Reply via email to