The issue here is that while scanning directories the app keeps open directory handles. When this number is going close to 1024 kernel limit on open files/dirs, the app gets the error below and restarts. Then again scans, gets error, restarts. Thus taking 100% CPU forever.
(in a few minutes after start) DING: (gjs:75251): GLib-ERROR **: 14:45:47.778: Creating pipes for GWakeup: Too many open files Launching DING process ... 1) First check with 800 directories and 4600 files ~/Templates$ find . -type d | wc -l 797 ~/Templates$ find . -type f | wc -l 4653 The app worked OK. The files are not opened, so the number of files is not an issue. It is the number of opened directories. 2) Second check with 1100 directories and 5400 files ~/Templates$ find . -type d | wc -l 1116 ~/Templates$ find . -type f | wc -l 5427 Here it gets the error (Too many open...) and restarts, taking 100% CPU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081198 Title: ding.js is consuming too much CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons-ng/+bug/2081198/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs