Duplicity leaks gigabytes of memory while using high CPU

Bug #2043716 reported by Ross Gammon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
duplicity (Ubuntu)
Confirmed
High
Unassigned

Bug Description

This machine is being used a lot to cast to Chromecast using Chromium. Some days Chromium is regularly freezing every 10 minutes or so. It is necessary to restart the computer to get casting again. Regularly, the freeze causes the "force close" or "wait" pop up to appear. If I am quick to react, I can quit Chromium and a reboot gets things going again. But if I am too slow, sometimes the whole desktop freezes including the mouse and I need to Alt-SysRq+B.

If I am casting and during a boring bit I want to check my emails, then running Thunderbird causes the whole system to slow down, and the casting to reduce resolution and only update the screen every 10 seconds or so.

Please let me know if there is anything I can do to help diagnose the problem.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: gnome-shell 45.0-1ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-10.10.1-lowlatency 6.5.3
Uname: Linux 6.5.0-10-lowlatency x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 16 17:52:42 2023
DisplayManager: gdm3
RelatedPackageVersions: mutter-common 45.0-3ubuntu3.1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to mantic on 2023-11-06 (10 days ago)

Revision history for this message
Ross Gammon (rosco2) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report.

When the system is slow please run:

  free -h > free.txt
  ps aux --sort -rss > ps.txt

and attach the resulting text files here.

affects: gnome-shell (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Ross Gammon (rosco2) wrote :

It took a while for the slowdown to happen today, even with my daily backup, Thunderbord, firefox and Chromium all running.
I include two versions of the requested files. One where the desktop was running OK, and a second version where I only just managed to type in the commands in the terminal before the mouse froze. Firefox was the first to show the "wait or force close" dialog, but the terminal was also slow to register each keypress.

Revision history for this message
Ross Gammon (rosco2) wrote :
Revision history for this message
Ross Gammon (rosco2) wrote :
Revision history for this message
Ross Gammon (rosco2) wrote :
Changed in ubuntu:
status: Incomplete → New
Revision history for this message
Ross Gammon (rosco2) wrote :

Thanks Daniel.

The reason I assigned gnome-shell is because I run Ubuntu Studio on 3 other machines, but they have the default KDE/plasma desktop, and they all work fine. This machine has standard Ubuntu (Gnome) with the Ubuntu Studio packages installed on top.

Of course it could also be hardware related.

Revision history for this message
Ross Gammon (rosco2) wrote :

It looks like it is duplicity that is using up all of my memory and CPU cycles. If I stop the daily backup after I turn the computer on (after it automatically starts up and before I open any other apps), then I have problem free use of the computer for the rest of the day.

affects: ubuntu → duplicity (Ubuntu)
summary: - Desktop freezing and slowing down when multiple apps running
+ Duplicity leaks gigabytes of memory while using high CPU
Changed in duplicity (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in duplicity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.