What's the maximum number of file descriptors that a process can get on OpenBSD successfully?
For example, there is an
openfiles limit in login.conf(5) in OpenBSD. If I want to have as many file descriptors as possible, but still don't let a runaway process to bog down the system, what would be a sensible value to set?
E.g. if I specify, say,
20000, will the kernel be capable of giving my application all of these 20000 FDs? What if I'm running multiple instances of a given application (e.g. multiple worker processes)?