From d0dbe61c7c1ecdb04b68b30ec885bca9c2ded11b Mon Sep 17 00:00:00 2001 From: Wouter Prins Date: Sat, 28 Oct 2023 11:43:39 +0200 Subject: [PATCH] Update TUNING --- doc/TUNING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/TUNING b/doc/TUNING index 882a6dd68db..71ba0e7bdb1 100644 --- a/doc/TUNING +++ b/doc/TUNING @@ -43,7 +43,7 @@ resource limits stricter than those of more popular Unix-like operating systems. OpenBSD stores a kernel-level file descriptor limit in the sysctl variable kern.maxfiles. It defaults to 7,030. To change it to, for example, 16,000 while -the system is running, use the command 'sudo sysctl kern.maxfiles=16000'. +the system is running, use the command 'doas sysctl kern.maxfiles=16000'. kern.maxfiles will reset to the default value upon system reboot unless you also add 'kern.maxfiles=16000' to the file /etc/sysctl.conf.