Public bug reported: I have 16GB or RAM and 2GB of swap. I also usually have several docker containers up, and also run an IDE (PhpStorm) and Firefox with about a million tabs open (bad habit, I know).
Each of these things consumes memory, so typically I don't have that much free RAM. Every now and then, some webpage I have open in Firefox will trigger something akin to a memory leak, thus causing Firefox to gradually consume more and more RAM, until there's no more free RAM left, at which point the computer begins swapping like crazy and becomes unusable. Usually, I give up waiting for it to become responsive in a couple minutes and just turn it off and then back on. That's why I installed oomd. I hoped it would notice the computer approaching that point of no return and kill Firefox (or PhpStorm, or whatever else), then I would just reopen the application and continue working. BUT THAT NEVER HAPPENS! And I believe that that is worthy of a bug report, because in essense it means that oomd absolutely fails to do what it's meant to do. I have package version 0.4.0-1 installed on Ubuntu 20.04: $ apt policy oomd oomd: Įdiegta: 0.4.0-1 Kandidatas: 0.4.0-1 Versijų lentelė: *** 0.4.0-1 100 100 /var/lib/dpkg/status 0.3.1-1 500 500 http://lt.archive.ubuntu.com/ubuntu focal/universe amd64 Packages And whenever I check, the service is running: $ service oomd status ● oomd.service - Userland out-of-memory killer daemon Loaded: loaded (/lib/systemd/system/oomd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2020-10-02 08:14:38 EEST; 13min ago Docs: man:oomd(1) https://github.com/facebookincubator/oomd#configuration Main PID: 815 (oomd) Tasks: 3 (limit: 18864) Memory: 5.0M (low: 64.0M) CGroup: /system.slice/oomd.service └─815 /usr/bin/oomd --interval 1 --config /etc/oomd/oomd.json --cgroup-fs /sys/fs/cgroup/unified spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:50] DisableOnDrop=0 spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:54] SilenceLogs= spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:58] DetectorGroup=free swap goes below 10 percent spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:63] Detector=swap_free spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:65] Args= spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:70] threshold_pct=10 spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:79] Action=kill_by_swap_usage spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:81] Args= spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/config/ConfigTypes.cpp:86] cgroup=user.slice/user-*.slice/session-*.scope,user.slice/user-*.slice/user@*.service/*,system.slice/* spal. 02 08:14:38 carbon oomd[815]: [../src/oomd/Oomd.cpp:377] Running oomd But like I said, it seems to be completely not functional. ** Affects: oomd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898155 Title: oomd is useless. at least with default configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/oomd/+bug/1898155/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs