aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlvar Penning <post@0x21.biz>2026-02-17 23:03:23 +0100
committerAlvar Penning <post@0x21.biz>2026-02-17 23:03:23 +0100
commit361fdaaa11226554854cb292fe0ed6b372898320 (patch)
tree67091d06b15e04ea30168bd3f41f39c422314c95 /examples
parentc29d691d32eea87b748587cc1f9c418a1bd1a00e (diff)
OpenBSD: Document login class w/ extended openfiles
A file heavy applications makes heavy use of files. Shocking news. OpenBSD's daemon login class limits the amount of openfiles quite strict. This restriction is an annoyance for lots of applications, and, unless I am mistaken, seems to be an issue for snac as well. Thus, after hopefully fixing this on my instance, I tried to briefly document this in snac(8) and provide a minimal login.conf(5) example.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/snac_openbsd_login_conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/snac_openbsd_login_conf b/examples/snac_openbsd_login_conf
new file mode 100755
index 0000000..f39b9a1
--- /dev/null
+++ b/examples/snac_openbsd_login_conf
@@ -0,0 +1,7 @@
+# OpenBSD login.conf(5) entry to increase the openfiles for the snac login
+# class. Further documented under "Number of open files on OpenBSD and login
+# classes" in snac(8).
+
+snac:\
+ :openfiles=4096:\
+ :tc=daemon: