gnome-shell high memory and CPU usage when desktop files are constantly created or deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell-extension-desktop-icons |
Fix Released
|
Unknown
|
|||
gnome-shell-extension-desktop-icons (Ubuntu) |
Fix Released
|
Medium
|
Iain Lane | ||
Disco |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
[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. 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 <Alt><F2> 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
ProcVersionSign
Uname: Linux 4.20.0+
NonfreeKernelMo
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)
Changed in gnome-shell (Ubuntu): | |
importance: | High → Critical |
tags: | added: performance |
summary: |
- RSS grows without limit, general slowness + [nvidia] gnome-shell RSS grows without limit, general slowness |
Changed in gnome-shell (Ubuntu Disco): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
tags: | removed: rls-dd-incoming |
Changed in gnome-shell (Ubuntu Disco): | |
status: | Confirmed → In Progress |
no longer affects: | zsh (Ubuntu) |
no longer affects: | zsh (Ubuntu Disco) |
Changed in gnome-shell-extension-desktop-icons (Ubuntu Disco): | |
status: | Triaged → In Progress |
Changed in gnome-shell-extension-desktop-icons: | |
status: | Unknown → New |
summary: |
- gnome-shell high memory and CPU usage when using zsh and a custom - XDG_DESKTOP_DIR="$HOME/" + gnome-shell high memory and CPU usage when desktop icons are constantly + changing |
summary: |
gnome-shell high memory and CPU usage when desktop icons are constantly - changing + created or deleted |
summary: |
- gnome-shell high memory and CPU usage when desktop icons are constantly + gnome-shell high memory and CPU usage when desktop files are constantly created or deleted |
summary: |
gnome-shell high memory and CPU usage when desktop files are constantly - created or deleted + created or deleted (like by zsh) |
summary: |
gnome-shell high memory and CPU usage when desktop files are constantly - created or deleted (like by zsh) + created or deleted |
Changed in gnome-shell-extension-desktop-icons (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in gnome-shell-extension-desktop-icons (Ubuntu Disco): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in gnome-shell-extension-desktop-icons: | |
status: | New → Fix Released |
description: | updated |
description: | updated |
description: | updated |
Chris,
Please try uninstalling all of these (just disabling them sometimes isn't enough):
b'org.gnome.shell' b'enabled- extensions' b"['<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>']"
Any improvement?