Activity log for bug #2029120

Date Who What changed Old value New value Message
2023-07-31 09:46:59 Aurélien bug added bug
2023-07-31 09:46:59 Aurélien attachment added log-processes-monitoring-27-07.txt https://bugs.launchpad.net/bugs/2029120/+attachment/5689536/+files/log-processes-monitoring-27-07.txt
2023-07-31 09:48:04 Aurélien attachment added log-processes-monitoring-27-07.txt https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2029120/+attachment/5689537/+files/log-processes-monitoring-27-07.txt
2023-07-31 09:48:53 Aurélien attachment added log-memory-monitoring-27-07.txt https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2029120/+attachment/5689538/+files/log-memory-monitoring-27-07.txt
2023-07-31 09:55:29 Aurélien 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) 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). The swap was voluntarily disabled, but anyway I do not expect such a process to consume up to 3Go of RAM in nominal operation. 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) - screenshot of syslog (from a distinct run) showing that unattended-upgr went out of memory and was killed by OOM. You can also see that the run occured as part of the apt-daily service.
2023-07-31 09:58:42 Aurélien attachment added unattended-upgrades-OUT-OF-MEMORY.PNG https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2029120/+attachment/5689539/+files/unattended-upgrades-OUT-OF-MEMORY.PNG