On 2026/07/05 12:43, Volker Schlecht wrote:
> On 7/5/26 12:10 PM, [email protected] wrote:
> 
> > thread '<unnamed>' (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/)

Reply via email to