Background > Desktop uses 2GB RAM and 20% Core i5-3320M

Bug #1799054 reported by Ads20000 on 2018-10-21
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
High
Unassigned

Bug Description

Right-clicking on the desktop, then clicking Change Background, and then Desktop uses 2GB RAM and 20% of my Core i5-3320M. System Monitor 3.28 (on Ubuntu 18.04) didn't do this. I have a lot of pictures in my Pictures folder which is why this happens (but didn't happen with 3.28, I don't think!).

I get errors like the below come up in the journal when it happens. If you need any more info to debug this then let me know! :)

Oct 21 15:09:21 adam-thinkpad-t430 gnome-control-c[6541]: Failed to load picture '/home/adam/Pictures/Black_2_White_2_Rosa.png': Error opening file /home/adam/Pictures/Black_2_White_2_Rosa.png: Too many open files'

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gnome-control-center 1:3.30.1-1ubuntu2
ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 21 14:17:42 2018
InstallationDate: Installed on 2017-08-03 (443 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to cosmic on 2018-10-21 (0 days ago)

Ads20000 (ads20000) wrote :
Sebastien Bacher (seb128) wrote :

It looks like something is eating/leaking file descriptors. I guess that's going away after a reboot? Any chance to use lsof to see which process is using your fds?

Ads20000 (ads20000) wrote :

The CPU usage drops after a while with Background > Desktop still open and the RAM usage drops when Settings is closed.

What command do I need to run? :)

Sebastien Bacher (seb128) wrote :

What's the number of images you have in /home/adam/Pictures/?

Ads20000 (ads20000) wrote :

1919, didn't realize it was quite that many xD Still, is it reasonable to expect this sort of delay or could GNOME process it better? Files is still functional when loading it whereas Settings isn't, apparently...

Ads20000 (ads20000) wrote :

(you should be able to reproduce the issue by taking 100 or so screenshots and then making lots of copies and doubling from there, perhaps)

Ads20000 (ads20000) wrote :

(when the delay is happening Settings becomes unresponsive so I can't exit from the Background > Desktop window and it slows down the rest of the computer too, which loading Pictures in Files doesn't do at all)

Sebastien Bacher (seb128) wrote :
Changed in gnome-control-center (Ubuntu):
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers