From: Stuart Henderson Subject: Re: [Update] wayland/niri 26.04 To: Volker Schlecht Cc: yaydn@protonmail.com, "ports@openbsd.org" Date: Sun, 5 Jul 2026 14:46:19 +0100 On 2026/07/05 12:43, Volker Schlecht wrote: > On 7/5/26 12:10 PM, yaydn@protonmail.com wrote: > > > thread '' (554026) panicked at src/tests/client.rs:162:47: > > called `Result::unwrap()` on an `Err` value: IoError(Os { code: 24, kind: Uncategorized, message: "Too many open files" }) > [...] > > // Checks had no problems. Not sure about the tests but it runs on > > // the i5-3340M laptop smoothly? > > You may want to play with the kern.maxfiles sysctl and login.conf "openfiles": > OpenBSD's defaults are typically too conservative for file-watching utilities. > > See for example the README of devel/libinotify Also kqueue requires way more file descriptors to be open for file monitoring across a tree than inotify, so it will be using more than on Linux or more recent FreeBSD (if anyone's bored, it might be worth looking at the FreeBSD implementation and see how hard it would be to port.. https://klarasystems.com/articles/native-inotify-in-freebsd/)