[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Just retested the pathological case of this leak, which involves creating and deleting desktop files as fast as you can (thousands of times) via a script. In that case even the latest gnome-shell-extension- desktop-icons still leaks badly. So the fix I had hopes for is not enough: https://gitlab.gnome.org/World/ShellExtensions/desktop- icons/-/commit/16447ab5bebcd4efb792e25335438f43b503c3e6 Of course this bug was already closed because a bigger leak was successfully fixed. If anyone finds the pathological case in the wild then we should handle it in a new bug. ** Tags added: gnome-shell-leak -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Closing as wontfix for Disco, that's not a LTS serie and 19.10 is about to turn stable, for those who need the fix it's recommended to upgrade to the new serie ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Status: Triaged => Won't Fix ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Assignee: Daniel van Vugt (vanvugt) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
I think we might go via bug 1842904 before fixing this in disco. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
** Description changed: + [Impact] + + gnome-shell memory usage grows rapidly each time files are created or + deleted in the Desktop directory. + + [Test Case] + + 0. Create a number of files/icons on the Desktop. The more existing + icons you have, the faster the test will be. + + 1. Start monitoring gnome-shell's memory usage. + + 2. Repeatedly create and delete a new file on the Desktop every second. + + 3. Check that gnome-shell's memory usage doesn't quickly grow by + hundreds of megabytes. It should only grow a little. + + [Regression Potential] + + Low. The current upstream stable release 19.01.4 is just a bug fix on + the same series as what's already in disco and eoan. + + [Original Bug Report] + This *may* be an nvidia-specific problem, but the RSS of gnome-shell on my system grows without limit (over a couple of hours it's increased past 10G). At the same time, gnome-shell appears to become progressively less responsive. Restarting gnome-shell (via restart) drops shell RSS down to ~400MB and improves system responsiveness a bit. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: gnome-shell 3.30.2-2ubuntu2 ProcVersionSignature: Ubuntu 4.20.0+bcachefs.git20190130.d1f70147-1.0-generic 4.20.0 Uname: Linux 4.20.0+bcachefs.git20190130.d1f70147-1-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.10-0ubuntu20 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Feb 12 13:35:59 2019 DisplayManager: gdm3 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) ** Description changed: [Impact] gnome-shell memory usage grows rapidly each time files are created or deleted in the Desktop directory. [Test Case] 0. Create a number of files/icons on the Desktop. The more existing icons you have, the faster the test will be. 1. Start monitoring gnome-shell's memory usage. 2. Repeatedly create and delete a new file on the Desktop every second. 3. Check that gnome-shell's memory usage doesn't quickly grow by hundreds of megabytes. It should only grow a little. [Regression Potential] - Low. The current upstream stable release 19.01.4 is just a bug fix on - the same series as what's already in disco and eoan. + Low. The current upstream stable release 19.01.4 is just a bug fix + release on the same series as what's already in disco and eoan. [Original Bug Report] This *may* be an nvidia-specific problem, but the RSS of gnome-shell on my system grows without limit (over a couple of hours it's increased past 10G). At the same time, gnome-shell appears to become progressively less responsive. Restarting gnome-shell (via restart) drops shell RSS down to ~400MB and improves system responsiveness a bit. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: gnome-shell 3.30.2-2ubuntu2 ProcVersionSignature: Ubuntu 4.20.0+bcachefs.git20190130.d1f70147-1.0-generic 4.20.0 Uname: Linux 4.20.0+bcachefs.git20190130.d1f70147-1-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.10-0ubuntu20 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Feb 12 13:35:59 2019 DisplayManager: gdm3 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) ** Description changed: [Impact] gnome-shell memory usage grows rapidly each time files are created or deleted in the Desktop directory. [Test Case] 0. Create a number of files/icons on the Desktop. The more existing icons you have, the faster the test will be. 1. Start monitoring gnome-shell's memory usage. 2. Repeatedly create and delete a new file on the Desktop every second. 3. Check that gnome-shell's memory usage doesn't quickly grow by hundreds of megabytes. It should only grow a little. [Regression Potential] Low. The current upstream stable release 19.01.4 is just a bug fix - release on the same series as what's already in disco and eoan. + release on the same series as what's already in disco and eoan. The same + fix has also been released early to eoan already. [Original Bug Report] This *may* be an nvidia-specific problem, but the RSS of gnome-shell on my system grows without limit (over a couple of hours it's increased past 10G). At the same time, gnome-shell appears to become progressively less responsive. Restarting gnome-shell (via restart) drops shell RSS down to ~400MB and improves system responsiveness a bit. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: gnome-shell 3.30.2-2ubuntu2 ProcVersionSignature: Ubuntu 4.20.0+bcachefs.git20190130.d1f70147-1.0-generic 4.20.0 Uname: Linux 4.20.0+bcachefs.git20190130.d1f70147-1-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.10-0ubuntu20 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
** Changed in: gnome-shell-extension-desktop-icons Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Assignee: (unassigned) => Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
gnome-shell-extension-desktop-icons (19.01.3+git20190814.1-1) experimental; urgency=medium * New upstream git snapshot up to fa21e66c5bd67bcbaf5bec3f7a31358169bb7f1b with memory-leak fixes. * Take proposed upstream patches to fix desktop-icons w/Shell 3.34. Bump dependency version accordingly. -- Iain Lane Wed, 14 Aug 2019 10:41:19 +0100 ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
gnome-shell-extension-desktop-icons (19.01.3+git20190814.1-1) experimental; urgency=medium * New upstream git snapshot up to fa21e66c5bd67bcbaf5bec3f7a31358169bb7f1b with memory-leak fixes. * Take proposed upstream patches to fix desktop-icons w/Shell 3.34. Bump dependency version accordingly. -- Iain Lane Wed, 14 Aug 2019 10:41:19 +0100 ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu) Status: In Progress => Fix Committed ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => Iain Lane (laney) ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Assignee: Daniel van Vugt (vanvugt) => (unassigned) ** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco) Status: In Progress => Triaged ** Tags added: eoan -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Fixed in Debian (Ubuntu coming soon?): gnome-shell-extension-desktop-icons (19.01.3+git20190814.1-1) experimental; urgency=medium * New upstream git snapshot up to fa21e66c5bd67bcbaf5bec3f7a31358169bb7f1b with memory-leak fixes. * Take proposed upstream patches to fix desktop-icons w/Shell 3.34. Bump dependency version accordingly. -- Iain Lane Wed, 14 Aug 2019 10:41:19 +0100 ** Also affects: gnome-shell-extension-desktop-icons (Debian) Importance: Undecided Status: New ** No longer affects: gnome-shell-extension-desktop-icons (Debian) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Fix proposed: https://salsa.debian.org/gnome-team/shell-extensions/gnome-shell- extension-desktop-icons/merge_requests/1 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
** Summary changed: - gnome-shell high memory and CPU usage when desktop files are constantly created or deleted (like by zsh) + gnome-shell high memory and CPU usage when desktop files are constantly created or deleted -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted (like by zsh)
** Summary changed: - gnome-shell high memory and CPU usage when desktop files are constantly created or deleted + gnome-shell high memory and CPU usage when desktop files are constantly created or deleted (like by zsh) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted (like by zsh) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
It looks like most (not all) of the leak is fixed in the next version 19.01.4: https://gitlab.gnome.org/World/ShellExtensions/desktop- icons/issues/104#note_546483 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Hello! Have same problem: With zsh as default, every time I press "Enter" in terminal there is 4s delay in whole system. I monitored CPU and CPU utilization is 100% every time I press enter in the terminal. So, the problem was that I removed useless folders in $HOME: Desktop, Music, Templates, etc. After, I noticed that value of $XDG_DESKTOP_DIR is "$HOME/" (But it was XDG_DESKTOP_DIR="$HOME/Desktop" before deletion of that directories) WORKAROUND: I created all that stuff again and changed ~/.config/user-dirs.dirs Now it looks like that: XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_MUSIC_DIR="$HOME/Music" XDG_PICTURES_DIR="$HOME/Pictures" XDG_VIDEOS_DIR="$HOME/Videos" Then re-login. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Can confirm this bug also affects me. `gnome-shell` is currently consistently the top program in `top` -- ~5454092 (Virt) / 2.4g (Res) 15.2% Mem Other behaviors I've noticed: - Nautilus is slow at times - When browsing the filesystem from a web browser (ie. attaching a file, or any "file dialog" moments), selecting the file causes it to hang for 5-10s Did not have any of these problems with 18.10. Some system-specific details: - I use an NVidia card (v418.56 of drivers, GTX 960 card) - Steam is running (I saw a few other people mention it; don't know if this would be salient or not) - I had to disable Wayland so that my system would boot correctly (This seems to be an NVidia thing) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1815550] Re: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Chris, When the leak gets bad for you, does gnome-shell log much? If so then what does it say? journalctl -f /usr/bin/gnome-shell I suspect I'm running into a second big leak in my investigations but that one is only accompanied by certain log messages. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu. https://bugs.launchpad.net/bugs/1815550 Title: gnome-shell high memory and CPU usage when desktop files are constantly created or deleted To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs