File descriptor limit

A file descriptor is an integer handle that a process uses to access an open resource, including files, sockets, and network connections. The file descriptor limit is the maximum number of descriptors a process can have open simultaneously, and it must be configured high enough to accommodate persistent WebSocket connections and other application resources.

Minimal example

bash
ulimit -n

ulimit -n 65536

ulimit -n

Learn this concept

Lesson 5.14 · Capacity estimation