limits on davidchua https://dchua.com/tags/limits/ Recent content in limits on davidchua Hugo -- gohugo.io en-us Fri, 08 Sep 2023 02:43:00 +0000 Diagnosing too many open files https://dchua.com/posts/2023-09-08-diagnosing-too-many-open-files/ Fri, 08 Sep 2023 02:43:00 +0000 https://dchua.com/posts/2023-09-08-diagnosing-too-many-open-files/ When facing a “Too Many Open Files” error, it is normally a result of a process taking up too many file descriptors. To diagnose this, find out the PID of the process which gave out the error. You can do this with a: $ ps auwx | grep <name_of_process> Verify open file limit per process 📝 Note: Each process that runs have a number of open files limit. By default, most of the time the limit is 1024