[Bug 1815550] Re: gnome-shell high memory and CPU usage when using zsh

Daniel van Vugt daniel.van.vugt at canonical.com
Mon Apr 8 09:15:28 UTC 2019


OK, that's a red flag. Those folders should not appear on your desktop.

On IRC you suggest that everything in  ~/.config/user-dirs.dirs is
pointing to $HOME/. So whatever leaks or CPU inefficiencies the gnome-
shell-extension-desktop-icons has already will be amplified on your
machine, by both:

 (a) The strange custom ~/.config/user-dirs.dirs where everything points to $HOME
 (b) The use of zsh which touches $HOME on every command.

I expect practically zero users to have (a), and larger but still small
subset of users to have (b). So we can safely lower the priority. It's
at least useful now we know how to stress test the extension for leaks
and performance.

** Changed in: zsh (Ubuntu Disco)
   Importance: Undecided => Low

** Changed in: zsh (Ubuntu Disco)
       Status: Incomplete => Won't Fix

** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco)
   Importance: High => Medium

** Changed in: gnome-shell-extension-desktop-icons (Ubuntu Disco)
       Status: Incomplete => Triaged

** No longer affects: gnome-shell (Ubuntu)

** Summary changed:

- gnome-shell high memory and CPU usage when using zsh
+ gnome-shell high memory and CPU usage when using zsh and a custom XDG_DESKTOP_DIR="$HOME/"

** Changed in: zsh (Ubuntu)
       Status: Incomplete => Won't Fix

** No longer affects: gnome-shell (Ubuntu Disco)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/1815550

Title:
  gnome-shell high memory and CPU usage when using zsh and a custom
  XDG_DESKTOP_DIR="$HOME/"

Status in gnome-shell-extension-desktop-icons package in Ubuntu:
  Triaged
Status in zsh package in Ubuntu:
  Won't Fix
Status in gnome-shell-extension-desktop-icons source package in Disco:
  Triaged
Status in zsh source package in Disco:
  Won't Fix

Bug description:
  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
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons/+bug/1815550/+subscriptions



More information about the foundations-bugs mailing list