[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code
ChM
1972159 at bugs.launchpad.net
Mon May 9 08:22:33 UTC 2022
$ free -h
total utilisé libre partagé tamp/cache disponible
Mem: 7,7Gi 3,3Gi 2,2Gi 113Mi 2,2Gi 4,0Gi
Partition d'échange: 2,0Gi 1,1Gi 936Mi
Syslog:
May 9 09:55:32 xxx systemd[2839]: snap.firefox.firefox.b9635bb0-3585-4241-8d1b-8936cedebc3a.scope: systemd-oomd killed 288 process(es) in this unit.
May 9 09:55:32 xxx systemd[2839]: snap.firefox.firefox.b9635bb0-3585-4241-8d1b-8936cedebc3a.scope: Consumed 5min 25.300s CPU time.
May 9 09:55:33 xxx systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
May 9 09:55:37 xxx systemd-oomd[607]: Killed /user.slice/user-1000.slice/user at 1000.service/app.slice/snap.code.code.9ab9bef1-a97e-46df-8879-2377452219ab.scope due to memory used (8181518336) / total (8280240128) and swap used (1969328128) / total (2147479552) being more than 90.00%
May 9 09:55:37 xxx systemd[2839]: snap.code.code.9ab9bef1-a97e-46df-8879-2377452219ab.scope: systemd-oomd killed 82 process(es) in this unit.
May 9 09:55:38 xxx systemd[2839]: snap.code.code.9ab9bef1-a97e-46df-8879-2377452219ab.scope: Consumed 29min 25.392s CPU time.
--
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/1972159
Title:
systemd-oomd frequently kills firefox and visual studio code
Status in systemd package in Ubuntu:
New
Bug description:
Since I installed Ubuntu 22.04, firefox and visual studio code are
frequently killed by systemd-oomd (every 2hours).
I have 8 GB memory and never experienced this before the upgrade to
Ubuntu 22.04. I thus assume that the claim that there is not enough
memory is abusive. Did 64GB of memory become the minimum requirement
to run Ubuntu ?
The second problem is that it gives a very bad user experience which
is critical for new Ubuntu users.
There should be a warning prior killing apps to give the opportunity
to save the app data. There should at least be an apologize and an
explanation after killing the app.
The current behavior gives the impression that Ubuntu 22.04 is
unreliable and unsafe to use which is a problem for an LTS release
that many people might want to use for critical production context.
There might be a configuration problem with systemd-oomd or simply a
bogus behavior. I would recommend to disable it or remove it
completely until this problem is resolved. This is what I will do for
myself because I have work to do.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1972159/+subscriptions
More information about the foundations-bugs
mailing list