open file limit
The most file descriptors one process may have open at once, set by the operating system and shown by ulimit -n.
In more detail
Busy servers need a limit comfortably above their peak number of connections plus open files. On Linux the per-process limit is RLIMIT_NOFILE, raised with ulimit or the service configuration.
Related terms
- file descriptor — A small number the operating system gives a process for each open file, socket or pipe, used in every later read or write.
- EMFILE — The error code meaning a process has hit its limit on open file descriptors, printed as "too many open files".
Taught in
- Asynchronous File I/O: node:fs/promises & Handles — Node.js Internals & Backend Services