"Too Many Open Files" Crash
Not sure how to diagnose on linux yet. I have no idea where to start.
Every once in a while I get an error "Too Many Open Files" and most of my programs crash and I can no longer open any of them. Restarting fixes it. I assume there is some program that isn't releasing files after using them and causing the pc to melt down. Something like a RAM leak.
The only time I am using my pc long enough is when I am recording footage.
The apps running when the crash happens are:
Open WIndow:
- OBS (Flatpak+several plugins)
- Mission Center
- Files
- Steam + any game
Background:
- VPN
- Syncthingy (Flatpak)
2 Replies
Check your ulimit, it might default to something too low for your uses https://linuxconfig.org/fixing-the-too-many-open-files-error-on-linux
LinuxConfig
Fixing the 'Too Many Open Files' Error on Linux
Learn to fix the 'Too Many Open Files' error in Linux. Use ulimit for temporary changes and edit limits.conf for permanent solutions.
Fixing it seems like a simple thing but I’d like to figure out what is causing it
So I can fix and/or report it