Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-30 Thread przemek klosowski via devel
On 7/27/21 10:04 PM, Aleksei Bavshin wrote: IIRC, gnome-terminal supposed to put each tab into a new cgroup. which would address David's problem of losing his desktop session---but is still a bad experience, because you'd be running the compile (or some other memory-intensive process) in a

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-29 Thread Alexey A.
related: systemd-oomd kills the whole session if it's started from console https://bugzilla.redhat.com/show_bug.cgi?id=1933494 ср, 28 июл. 2021 г. в 10:28, David Airlie : > > Hi, > > I've been using f34 with gnome/wayland session on a 16MB machine which > has 8GB zram swap configured. > > If I

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-28 Thread Anita Zhang
I suspect that this may have been a swap-based kill and gnome-shell was using the most swap at the time. If you do `journalctl --unit systemd-oomd` do you see "systemd-oomd[]: Killed due to " ___ devel mailing list -- devel@lists.fedoraproject.org To

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-28 Thread Benjamin Berg
Hi, On Wed, 2021-07-28 at 13:33 +1000, David Airlie wrote: > >  From your description, something obviously went wrong: either > > assignment of cgroups has failed and everything is in the same big > > group, or sd-oomd made a bad shot. systemd-cgls should show which it is. > > Thanks for the

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-28 Thread Neal Gompa
On Wed, Jul 28, 2021 at 7:14 AM Chris Murphy wrote: > > Also there's below: > https://github.com/facebookincubator/below > > Hopefully it'll get packaged soon. > https://discussion.fedoraproject.org/t/article-proposal-below-an-interactive-resource-monitor-for-modern-linux-systems/31176/2 > This

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-27 Thread Chris Murphy
Also there's below: https://github.com/facebookincubator/below Hopefully it'll get packaged soon. https://discussion.fedoraproject.org/t/article-proposal-below-an-interactive-resource-monitor-for-modern-linux-systems/31176/2 Chris Murphy ___ devel

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-27 Thread Chris Murphy
Killed /user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service >Is there a command to list the current memory usage for each cgroup? Yes, either in sysfs or you can use systemd-cgls -m, and you can pass a path to eliminate extraneous processes and reveal more

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-27 Thread David Airlie
On Wed, Jul 28, 2021 at 12:14 PM Aleksei Bavshin wrote: > > On 7/27/21 6:23 PM, David Airlie wrote: > > Hi, > > > > I've been using f34 with gnome/wayland session on a 16MB machine which > > has 8GB zram swap configured. > > > > If I build anything large inside my desktop environment (llvm/clang)

Re: systemd-oomd blows away the gnome-shell desktop session

2021-07-27 Thread Aleksei Bavshin
On 7/27/21 6:23 PM, David Airlie wrote: Hi, I've been using f34 with gnome/wayland session on a 16MB machine which has 8GB zram swap configured. If I build anything large inside my desktop environment (llvm/clang) from a gnome-terminal, systemd-oomd blows away my whole desktop slice. This

systemd-oomd blows away the gnome-shell desktop session

2021-07-27 Thread David Airlie
Hi, I've been using f34 with gnome/wayland session on a 16MB machine which has 8GB zram swap configured. If I build anything large inside my desktop environment (llvm/clang) from a gnome-terminal, systemd-oomd blows away my whole desktop slice. This seems overly hostile. Now in theory I can use