hedayaty / NetSpeed

An extension for gnome 3 to show internet speed
265 stars 83 forks source link

JS ERROR: GLib.FileError: Failed to open file “/proc/net/route”: Too many open files #145

Open eisraeli opened 2 years ago

eisraeli commented 2 years ago
JS ERROR: GLib.FileError: Failed to open file “/proc/net/route”: Too many open files
_updateDefaultGw@/home/eranisraeli/.local/share/gnome-shell/extensions/netspeed@hedayaty.gmail.com/net_speed.js:175:27
_update@/home/eranisraeli/.local/share/gnome-shell/extensions/netspeed@hedayaty.gmail.com/net_speed.js:193:14

epoll_create () failed: Too many open files

== Stack trace for context 0x560865879220 ==
 #0   56086bdf7900 i   resource:///org/gnome/shell/misc/loginManager.js:198 (44bd060afb0 @ 635)

I suspect this is causing my gnome desktop to crash :(

hedayaty commented 1 year ago

This is an interesting one. Are you running a heavy process like spark or you have a special machine?

You can increase the number of open files (you might need to).

eisraeli commented 1 year ago

I'm not running any heavy processes nor do I have any special machine. I'm running on Fedora 38.