[Bug 2029120] [NEW] /usr/bin/unattended-upgrade leaking and saturating RAM in 30 seconds

Aurélien 2029120 at bugs.launchpad.net
Mon Jul 31 09:46:59 UTC 2023


Public bug reported:

Hello,
We are facing a huge memory leak with unattended-upgrade binary. It appears that in around 20s, 2.9Go (80%) of RAM is consumed by the process making the system unresponsive (even a basic 'ps' command remains stuck).

Note: the logs were captured on a system configured in French. I
manually translated some words below, which could explain it is not
exactly what you would have on an english based system.

Ubuntu release:
Description:    Ubuntu 22.04 LTS
Release:        22.04

Package version:
unattended-upgrades:
  Installed : 2.8ubuntu1
  Candidate : 2.8ubuntu1
 Version table :
 *** 2.8ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status


In attachment you will find 2 files:
- periodic monitoring of available memory (with free -m)
- periodic monitoring of highest memory consumer processes (with ps + sort on memory column)

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "log-processes-monitoring-27-07.txt"
   https://bugs.launchpad.net/bugs/2029120/+attachment/5689536/+files/log-processes-monitoring-27-07.txt

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

Title:
  /usr/bin/unattended-upgrade leaking and saturating RAM in 30 seconds

Status in unattended-upgrades package in Ubuntu:
  New

Bug description:
  Hello,
  We are facing a huge memory leak with unattended-upgrade binary. It appears that in around 20s, 2.9Go (80%) of RAM is consumed by the process making the system unresponsive (even a basic 'ps' command remains stuck).

  Note: the logs were captured on a system configured in French. I
  manually translated some words below, which could explain it is not
  exactly what you would have on an english based system.

  Ubuntu release:
  Description:    Ubuntu 22.04 LTS
  Release:        22.04

  Package version:
  unattended-upgrades:
    Installed : 2.8ubuntu1
    Candidate : 2.8ubuntu1
   Version table :
   *** 2.8ubuntu1 500
          500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
          500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
          100 /var/lib/dpkg/status

  
  In attachment you will find 2 files:
  - periodic monitoring of available memory (with free -m)
  - periodic monitoring of highest memory consumer processes (with ps + sort on memory column)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2029120/+subscriptions




More information about the foundations-bugs mailing list