Thursday, 9 June 2022

Re: systemd-oomd issues on desktop

On Thu, Jun 09, 2022 at 03:19:36PM -0400, Dan Streetman wrote:
> > 4. Increase swap on Ubuntu. I am adding this for completeness, but I
> > doubt this is a viable option.

> Personally, I think this is the correct option. 1GB is not a good
> default swap size.

Could you elaborate why? This default was arrived at some time ago with
input from the kernel team regarding the fact that the kernel behaves best
when it has some swap space but shouldn't necessarily have a lot.

If we think 1GB is a wrong value, we should change it from 22.04.1
forward... but don't have a good way to automatically change the allocation
for existing installs. Fortunately, our use of swap files mean it's
possible for the end user to non-destructively increase their swap space,
but I wouldn't be comfortable with us doing this automatically as part of a
release upgrade or in an SRU!

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org