Linux/Open Files: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

30 May 2026

  • curprev 03:3103:31, 30 May 2026Kenneth talk contribs 952 bytes +952 Created page with "List processes with most open files: lsof | awk '{print $1}' | sort | uniq -c | sort -rn | head -10 The "Too many open files" error occurs when a process or user reaches the upper limit of allocated file descriptors (FDs), which in Linux includes network sockets, pipes, and regular files. To resolve this, you need to identify the culprit process and then adjust either the user-level session limits or the system-wide limits. Check session limits: Run ulimit -Sn to chec..."