Re: Fedora 34 Change: Enable systemd-oomd by default for all variants(System-Wide Change)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 22, 2020, at 10:45 AM, Michael Catanzaro wrote:
> Each gnome-terminal tab runs in its own cgroup:
> 
> │ │ │ ├─app-org.gnome.Terminal.slice
> │ │ │ │ 
> ├─vte-spawn-1d1d5519-71d2-4035-929a-8a9ae5bc3822.scope
> │ │ │ │ │ ├─7848 bash
> │ │ │ │ │ └─7889 less /etc/hosts
> │ │ │ │ 
> ├─vte-spawn-03fe4cc9-0400-4723-ac9b-e929b850ca02.scope
> │ │ │ │ │ ├─7892 bash
> │ │ │ │ │ ├─7927 systemd-cgls
> │ │ │ │ │ └─7928 less
> │ │ │ │ └─gnome-terminal-server.service
> │ │ │ │ └─7843 /usr/libexec/gnome-terminal-server
> 
> Firefox does this too. WebKit doesn't, but it won't be hard to fix. Not 
> sure about Chrome. Point is, apps have all the tools they need to use 
> cgroups to ensure out-of-control subprocesses don't cause the main 
> process to be killed, and our important default apps (Firefox and 
> gnome-terminal) actually do this.
> 

It's there a way to make bash launch each command in a separate cgroup? I've usually got my various terminal apps in the background of a single bash session. It sounds like if any of them gets killed by oomd, they all would be killed.

Glad to hear gnome-terminal separates tabs. Any idea if tilix does the same?

V/r,
James Cassell
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux