News for hackers. Stuff that matters.
Re:Too Many Open Files by codedokode on Friday June 06, 2025 @03:13PM (#44204026)
The problem with lsof is that it outputs lot of duplicates, for example:

- it outputs memory-mapped files whose descriptor was closed (with "mem" type)

- for multi-thread processes it repeats every file for every thread

For example my system has 400 000 lines in lsof output and it is really difficult to figure out which of them count against the system-wide limit.

There are no comments on this comment yet.