systemd-oomd issues on desktop

Steve Langasek steve.langasek at
Thu Jun 9 20:05:38 UTC 2022

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                         
slangasek at                                     vorlon at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the ubuntu-devel mailing list