diff options
| author | 2026-02-17 23:03:23 +0100 | |
|---|---|---|
| committer | 2026-02-17 23:03:23 +0100 | |
| commit | 361fdaaa11226554854cb292fe0ed6b372898320 (patch) | |
| tree | 67091d06b15e04ea30168bd3f41f39c422314c95 /examples/snac_openbsd_login_conf | |
| parent | httpd: Log xs_socket_accept failure reason (diff) | |
| download | snac2-361fdaaa11226554854cb292fe0ed6b372898320.tar.gz snac2-361fdaaa11226554854cb292fe0ed6b372898320.tar.xz snac2-361fdaaa11226554854cb292fe0ed6b372898320.zip | |
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/snac_openbsd_login_conf')
| -rwxr-xr-x | examples/snac_openbsd_login_conf | 7 |
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 @@ | |||
| 1 | # OpenBSD login.conf(5) entry to increase the openfiles for the snac login | ||
| 2 | # class. Further documented under "Number of open files on OpenBSD and login | ||
| 3 | # classes" in snac(8). | ||
| 4 | |||
| 5 | snac:\ | ||
| 6 | :openfiles=4096:\ | ||
| 7 | :tc=daemon: | ||