[Bug 1966381] Re: applications crash that never crashed under Ubuntu-20.04
Dan Streetman
1966381 at bugs.launchpad.net
Fri Apr 1 13:06:52 UTC 2022
> I think you have a problem there too.
oh I'm certainly not claiming a 1g default swap is appropriate, that
does seem far, far too small to me and will likely cause widespread
issues beyond just this, I was only saying that tweaking the systemd-
oomd swap % full setting would IMHO not be likely to fix this very well
- and as you point out increasing the swap size to a more reasonable
size almost certainly will help (and might be why upstream hadn't
noticed this before), regardless of the systemd-oomd swap % used default
setting, because it would be far less likely to fill swap up to the oomd
swap % full default.
> Maybe running with such a starved swapspace triggers systemd-oom to do
weird things?
>From my quick read of the code, it doesn't seem to be doing anything
weird at all, I think it's doing exactly what it's programmed to do. I
just don't think the code is correct.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1966381
Title:
applications crash that never crashed under Ubuntu-20.04
Status in systemd package in Ubuntu:
New
Status in systemd source package in Jammy:
New
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/user-1001.slice/user at 1001.service/app.slice/app-gnome-firefox-6607.scope due to memory used (15940579328) / total (16153944064) and swap used (925564928) / total (1023406080) being more than 90.00%
Mar 22 08:11:29 ubuntu systemd[5029]: app-gnome-google\x2dchrome-5412.scope: systemd-oomd killed 298 process(es) in this unit.
Mar 23 11:09:28 ubuntu systemd-oomd[1055]: Killed /user.slice/user-1001.slice/user at 1001.service/app.slice/app-gnome-thunderbird-5418.scope due to memory used (15591993344) / total (16149745664) and swap used (927760384) / total (1023406080) being more than 90.00%
Mar 23 11:09:28 ubuntu systemd[5029]: app-gnome-thunderbird-5418.scope: systemd-oomd killed 173 process(es) in this unit.
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
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: pass
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1966381/+subscriptions
More information about the foundations-bugs
mailing list