Re:Too Many Open Files
by Izkata on Friday June 06, 2025 @01:01PM
(#44202857)
The subshell isn't doing anything useful here, could just be:
[ Parent
| on HN ]
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.
This code has AI smell
Re:Too Many Open Files
by mattrighetti on Friday June 06, 2025 @02:21PM
(#44203590)
Or writing blogs at 2AM is not a smart thing to do