In the near term, we could consider tweaking the systemd-oomd defaults
in Ubuntu. According to the commit that added systemd-oomd in Jammy [1],
the current config is based on Fedora's. This includes using the default
value of SwapUsedLimit=90% [2]. However, Fedora has more swap space by
default: a fresh install of Fedora 35 in a VM with 4GB of memory has 4GB
of swap, whereas a fresh install of Jammy in a VM with 4GB of memory has
968MB of swap. So, maybe the default SwapUsedLimit is not appropriate
for Ubuntu.

[1] 
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?h=ubuntu-jammy&id=771fee9e73316c92e065e93946ec64c578b43706
[2] 
https://www.freedesktop.org/software/systemd/man/oomd.conf.html#SwapUsedLimit=

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966381

Title:
  applications crash that never crashed under Ubuntu-20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1966381/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to