I came across this bug report today, which has quite a bit of detail. But the gist is that (a) systemd-oomd sometimes kills all of Firefox on (b) KDE because (c) uresourced is only in comps for workstation-product group. One of the things uresourced does via it's cgroupify functionality, is it automatically splits out web browser processes into their own cgroup so that should the need for oomd to kill a tab, it only kills that tab/process rather than the whole cgroup, i.e. the web browser itself and all tabs. https://bugzilla.redhat.com/show_bug.cgi?id=1964153
I'm not sure the best way to bring it in for Fedora 34 now though. Note that uresourced project admits it's a short term solution and that a better solution is anticipated.
@benzea
Metadata Update from @ngompa: - Issue set to the milestone: Fedora 35 - Issue tagged with: experience
Any desktop that uses systemd properly should benefit from uresourced. If systemd is not used, it ultimately just becomes pretty useless (rather than being a disadvantage).
Metadata Update from @siosm: - Issue assigned to siosm
Requires: uresourced
Please make uresourced optional. I don't want to install it to my system.
Recommends: uresourced should be fine.
Recommends: uresourced
Requires: uresourced Please make uresourced optional. I don't want to install it to my system. Recommends: uresourced should be fine.
Why? We are using systemd user sessions and we need this to complete the functionality so that systemd-oomd and other things work properly.
https://pagure.io/fedora-comps/pull-request/667
Initial implementation, adding dependency in plasma-workspace:
https://src.fedoraproject.org/rpms/plasma-workspace/c/6fba0c215ca2489adb84cb774c9c5def0c996535?branch=rawhide
@siosm why add to comps too?
Why?
We are using systemd user sessions and we need this to complete the functionality so that systemd-oomd and other things work properly.
Nothing breaks if you don't install uresourced.
That's why I think that Recommends would be enough. Enabled by default on all Fedora installations.
Recommends
Whoops, sorry, did that in parallel. Had not realized that we were going to add that as a dependency.
OK, we hashed it out a bit in chat, and compromised on a Rich dep approach: https://src.fedoraproject.org/rpms/plasma-workspace/c/5c52329cfe82dd963cbfc86c23464f082f489f42?branch=rawhide
Metadata Update from @rdieter: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.