2022-05-09 08:17:32 |
ChM |
bug |
|
|
added bug |
2022-05-09 11:56:47 |
Sebastien Bacher |
systemd (Ubuntu): importance |
Undecided |
High |
|
2022-05-09 11:56:47 |
Sebastien Bacher |
systemd (Ubuntu): status |
New |
Incomplete |
|
2022-05-09 14:47:32 |
Lukas Märdian |
tags |
|
rls-kk-incoming |
|
2022-05-09 14:47:36 |
Lukas Märdian |
tags |
rls-kk-incoming |
rls-jj-incoming |
|
2022-05-10 11:43:31 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2022-05-10 13:14:57 |
Lukas Märdian |
tags |
rls-jj-incoming |
|
|
2022-05-22 20:48:54 |
Dan Streetman |
removed subscriber Dan Streetman |
|
|
|
2022-05-27 02:16:53 |
Connor Nolan |
bug |
|
|
added subscriber Connor Nolan |
2022-05-27 09:59:47 |
Francesco |
bug |
|
|
added subscriber Francesco |
2022-05-27 18:08:52 |
Simon Déziel |
bug |
|
|
added subscriber Simon Déziel |
2022-05-30 12:55:33 |
Pirouette Cacahuète |
bug |
|
|
added subscriber Pirouette Cacahuète |
2022-06-10 00:20:18 |
Lester Carballo Pérez |
bug watch added |
|
https://gitlab.freedesktop.org/drm/amd/-/issues/1569 |
|
2022-06-13 13:59:36 |
Lukas Märdian |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1941170 |
|
2022-06-13 13:59:36 |
Lukas Märdian |
bug task added |
|
systemd (Fedora) |
|
2022-06-13 19:48:15 |
Niko Böckerman |
bug |
|
|
added subscriber Niko Böckerman |
2022-06-14 08:24:29 |
Lukas Märdian |
tags |
|
rls-jj-incoming |
|
2022-06-14 08:24:42 |
Lukas Märdian |
tags |
rls-jj-incoming |
rls-jj-incoming rls-kk-incoming |
|
2022-06-14 23:43:31 |
Brian Murray |
systemd (Ubuntu): status |
Incomplete |
Confirmed |
|
2022-06-15 14:25:35 |
Benjamin Drung |
bug |
|
|
added subscriber Benjamin Drung |
2022-06-16 15:13:14 |
Brian Murray |
nominated for series |
|
Ubuntu Kinetic |
|
2022-06-16 15:13:14 |
Brian Murray |
bug task added |
|
systemd (Ubuntu Kinetic) |
|
2022-06-16 15:14:04 |
Matthieu Clemenceau |
tags |
rls-jj-incoming rls-kk-incoming |
fr-2482 rls-jj-incoming rls-kk-incoming |
|
2022-06-16 15:38:26 |
Brian Murray |
tags |
fr-2482 rls-jj-incoming rls-kk-incoming |
fr-2482 |
|
2022-06-17 15:02:31 |
Julian Alarcon |
bug |
|
|
added subscriber Julian Alarcon |
2022-06-27 09:35:28 |
Lukas Märdian |
nominated for series |
|
Ubuntu Jammy |
|
2022-06-27 09:35:28 |
Lukas Märdian |
bug task added |
|
systemd (Ubuntu Jammy) |
|
2022-06-27 18:18:28 |
Nick Rosbrook |
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. |
[Impact]
The "swap kill" side of systemd-oomd has caused unexpected behavior for desktop users. A user's browser, desktop session, or some other desktop application may be killed by systemd-oomd when SwapUsedLimit is reached, but system performance otherwise appears unaffected. This leaves users confused as to why their application was killed, and has a negative impact on their desktop experience.
For now, let's disable the swap kill functionality by default.
[Test Plan]
On Jammy desktop, check the ManagedOOMSwap property on -.slice:
$ systemctl show -- "-.slice" | grep "^ManagedOOMSwap"
ManagedOOMSwap=kill # After the fix, this should print ManagedOOMSwap=auto
[Where problems could occur]
Disabling swap kill by default means that users may experience degraded system performance due to high swap usage, because systemd-oomd will no longer act on cgroups with high swap usage.
[Other Info]
If a user wishes to restore the original systemd-oomd behavior, they can do so by creating the following overrides file:
$ cat /etc/systemd/system/-.slice.d/10-oomd-root-slice-defaults.conf
[Slice]
ManagedOOMSwap=kill
[Original 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. |
|
2022-06-27 19:35:08 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/425661 |
|
2022-06-27 20:44:51 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/425171 |
|
2022-06-28 08:43:51 |
Lukas Märdian |
systemd (Ubuntu Jammy): status |
New |
In Progress |
|
2022-06-28 08:48:35 |
Lukas Märdian |
systemd (Ubuntu Jammy): assignee |
|
Nick Rosbrook (enr0n) |
|
2022-06-28 08:48:41 |
Lukas Märdian |
systemd (Ubuntu Kinetic): assignee |
|
Nick Rosbrook (enr0n) |
|
2022-06-28 09:15:32 |
Łukasz Zemczak |
systemd (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2022-06-28 09:15:34 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-06-28 09:15:35 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2022-06-28 09:15:41 |
Łukasz Zemczak |
tags |
fr-2482 |
fr-2482 verification-needed verification-needed-jammy |
|
2022-06-29 16:30:57 |
Nick Rosbrook |
tags |
fr-2482 verification-needed verification-needed-jammy |
fr-2482 verification-done-jammy verification-needed |
|
2022-06-30 08:26:13 |
Lukas Märdian |
systemd (Ubuntu Kinetic): status |
Confirmed |
Fix Committed |
|
2022-07-02 16:13:58 |
Oibaf |
bug |
|
|
added subscriber Oibaf |
2022-07-02 16:58:47 |
Launchpad Janitor |
systemd (Ubuntu Kinetic): status |
Fix Committed |
Fix Released |
|
2022-07-02 16:58:47 |
Launchpad Janitor |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746463 |
|
2022-07-02 16:58:47 |
Launchpad Janitor |
bug watch added |
|
https://github.com/systemd/systemd/issues/22635 |
|
2022-07-02 16:58:47 |
Launchpad Janitor |
bug watch added |
|
https://github.com/systemd/systemd/issues/22991 |
|
2022-07-02 16:58:47 |
Launchpad Janitor |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969568 |
|
2022-07-02 16:58:47 |
Launchpad Janitor |
bug watch added |
|
https://github.com/systemd/systemd/issues/21975 |
|
2022-07-02 16:58:47 |
Launchpad Janitor |
cve linked |
|
2021-3997 |
|
2022-07-03 07:18:31 |
Ikuya Awashiro |
bug |
|
|
added subscriber Ikuya Awashiro |
2022-07-05 20:42:18 |
Launchpad Janitor |
systemd (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-07-05 20:42:25 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-12-27 10:15:04 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Mantas Kriaučiūnas |
2022-12-27 10:15:17 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber Baltix GNU/Linux activists |
2023-01-26 01:36:47 |
Bug Watch Updater |
systemd (Fedora): status |
Unknown |
Fix Released |
|
2023-01-26 01:36:47 |
Bug Watch Updater |
systemd (Fedora): importance |
Unknown |
Critical |
|
2023-03-28 15:32:11 |
Mantas Kriaučiūnas |
bug task added |
|
baltix-default-settings |
|