systemd-oomd is counting cached as used and triggering more easily than it should
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Nick Rosbrook | ||
Jammy |
Fix Released
|
High
|
Nick Rosbrook |
Bug Description
Just now I was watching some video in Firefox. I popped over to another virtual workspace for a few minutes, and when I popped back to Firefox it had gone. The same thing had been happening all week (I installed fresh Ubuntu-22.04 last week) with Chrome, Firefox and Thunderbird.
This time instead of shrugging it off I looked in the logs, and found this
Mar 25 19:45:40 ubuntu systemd-oomd[960]: Killed /user.slice/
Mar 22 08:11:29 ubuntu systemd[5029]: app-gnome-
Mar 23 11:09:28 ubuntu systemd-oomd[1055]: Killed /user.slice/
Mar 23 11:09:28 ubuntu systemd[5029]: app-gnome-
I know it's saying those three entirely unrelated applications had suddenly decided to swallow all the RAM+swap on this laptop of mine - but the very same apps didn't act like that last week under Ubuntu-20.04, so I suspect something else is going on
I can't say they hadn't swallowed all the RAM, but there is ZERO sign of a system on the verge of collapsing - everything has been screaming along just nicely - no sign of the "staggering" you normally get when the OS is heavily into swap.
However, now that I look I see my 16G laptop only has 1G swap??? I just let the Ubuntu installer do it's defaults - but it used to auto-choose 1xRAM or 2xRAM - what's with this 1G swap? Could that be related?
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: systemd-oomd 249.11-0ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 25 19:47:44 2022
InstallationDate: Installed on 2022-03-13 (11 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220313)
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- William Wilson: Approve
-
Diff: 290 lines (+262/-0)4 files modifieddebian/changelog (+11/-0)
debian/patches/lp1926860-hwdb-remove-the-tablet-pad-entry-for-the-UC-Logic-1060N.patch (+40/-0)
debian/patches/lp1966381-oomd-calculate-used-memory-with-MemAvailable-instead-of-M.patch (+209/-0)
debian/patches/series (+2/-0)
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
tags: | added: fr-2157 |
tags: | removed: rls-jj-incoming |
summary: |
- applications crash that never crashed under Ubuntu-20.04 + systemd-oomd is counting cached as used and triggering more easily than + it should |
Changed in systemd (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04 |
Changed in systemd (Ubuntu Jammy): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
Thank you for the report, tagging as rls incoming because it sounds like we should ensure the systemd-oomd behaviour is what is expected or if it's maybe kicking in more early than it should