Re: /dev/random blocking causing i2p router to crash
Chris Narkiewicz <[email protected]> Tue, 30 Jun 2026 21:26:24 +0100
| Newsgroups | gmane.os.openbsd.misc |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 30, 2026 at 10:49:10AM +0000, [email protected] wrote: > Caused by: java.io.FileNotFoundException: /dev/random (Too many open > files) You run out of file descriptor allowance. Things will fail in weird way from this point. > From what I've researched blocking is a feature of /dev/random if it > is not ready OpenBSD uses non-blocking random generator. man 4 urandom /dev/random is alias for /dev/urandom: # ls -l /dev/random lrwxr-xr-x 1 root wheel 7 May 24 23:24 /dev/random -> urandom > so I'm quite stuck on how to go about fixing this. Raise file descriptors limit for the user running the process. The defaults are pretty conservative. man login.conf Best regards, Chris Narkiewicz