Re: systemd-oomd insanely aggressive with non-DE logins

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

 



Hi.

On Sun, 12 Mar 2023 17:33:42 +0000 "Andre Robatino" wrote:

> I just tried removing systemd-oomd-defaults and it's still possible to run
> systemd-oomd so I was wrong in thinking that would prevent it.

Right: systemd-oomd-defaults only configures systemd-oomd.

    rpm -ql --scripts systemd-oomd-defaults
    /usr/lib/systemd/oomd.conf.d
    /usr/lib/systemd/oomd.conf.d/10-oomd-defaults.conf
    /usr/lib/systemd/system/system.slice.d/10-oomd-per-slice-defaults.conf
    /usr/lib/systemd/system/user-.slice.d/10-oomd-per-slice-defaults.conf
    /usr/lib/systemd/user/slice.d/10-oomd-per-slice-defaults.conf

I checked on a small VM.

With it installed, oomctl shows some CGroups monitored

    root# oomctl
    Dry Run: no
    Swap Used Limit: 90.00%
    Default Memory Pressure Limit: 60.00%
    Default Memory Pressure Duration: 30s
    System Context:
            Memory: Used: 349.5M Total: 1.9G
            Swap: Used: 0B Total: 0B
    Swap Monitored CGroups:
    Memory Pressure Monitored CGroups:
            Path: /user.slice/user-0.slice
                    Memory Pressure Limit: 50.00%
    <snip>
            Path: /user.slice/user-0.slice/user@0.service
    <snip>
    root# 

With it removes. and after a reboot (needed), no CGroups monitored

    root# oomctl
    Dry Run: no
    Swap Used Limit: 90.00%
    Default Memory Pressure Limit: 60.00%
    Default Memory Pressure Duration: 30s
    System Context:
            Memory: Used: 457.5M Total: 1.9G
            Swap: Used: 0B Total: 0B
    Swap Monitored CGroups:
    Memory Pressure Monitored CGroups:
    root#

-- 
francis
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux