Public bug reported:

I've been testing oomd and hoping it would just work out of the box.
>From what I can tell it doesn't seem to work at all for excess CPU (or memory 
>for that matter) although I may be misunderstanding important matters but 
>current documentation is insufficient for me to do better.

I've been trying to check the cpu related rules:

* User pressure above 60 for 30 s
* System pressure above 80 for 60 s

I disable oomd on the system using

  $ systemctl stop oomd

I then run it using the command:

  $ sudo /usr/bin/oomd --config /etc/oomd/oomd.json --cgroup-fs
/sys/fs/cgroup/unified

The oomd.json is the default for the Ubuntu 20.10 package.

I have previously changed my linux boot parameters on the command line
to include systemd.unified_cgroup_hierarchy=1.

I am running Ubuntu 20.10:

  $ uname -a
  Linux XPS-13-9360 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.10
  Release:        20.10
  Codename:       groovy

I then test by doing a command like:

  $ stress -c 150

and monitor the system pressure using something like:

  $ cat /proc/pressure/cpu 
  some avg10=98.91 avg60=79.66 avg300=29.70 total=107155291

As far as I can tell oomd takes and tries to take no action.
I'd be happy to take some debugging suggestions or provide further information.

** 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/1907936

Title:
  Does not appear to function out of the box or at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oomd/+bug/1907936/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to