commit 5a1badd

uint  ·  2026-10-26 12:38:52 +0000 UTC
parent 2512b6a
add OpenBSD shm limit warning
1 files changed,  +16, -0
+16, -0
 1@@ -6,6 +6,22 @@ macOS won't build as libmaus doesn't have implementations for it. If you would
 2 be interested in making one for your own platform, it would be amazing if you
 3 could contribute!
 4 
 5+##### OpenBSD
 6+If you're on X11, you may want to increase the shm buffer limit as you may only
 7+be able to open a few windows.
 8+
 9+In `/etc/sysctl.conf`, something like:
10+```
11+kern.shminfo.shmall=65536
12+```
13+
14+Or immediately:
15+```sh
16+sysctl kern.shminfo.shmall=65536
17+```
18+
19+65536 is more than enough pages.
20+
21 ### Building:
22 ``` sh
23 meson setup build