Hi,

When enabling systemd-oomd, you should include and enable uresourced which 
includes cgroupify. The effect of uresourced is to set minimum resources for 
the desktop to preserve responsiveness in the desktop environment; and the 
function of cgroupify is to split out sub-processes of certain programs, like 
web browsers, into their own cgroup. That way oomd can clobber just that 
sub-process/tab. 

https://gitlab.freedesktop.org/benzea/uresourced

There is still a desire to give proper feedback to the user by some kind of 
notification, but this work isn't decided on in any of the desktop 
environments, i.e. what that notification would look like. But once that's 
settled then we could ask systemd-oomd developers for a dbus API, rather than 
parsing the system journald for oomd messages.

Thanks,

--
Chris Murphy
-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Reply via email to