Package: oomd Version: 0.4.0-1+b1 Severity: normal Dear Maintainer,
It’s great that bullseye proposes a solution to the dreaded problem of system freeze under memory pressure. However, at least on my machine, oomd intervenes too late with the default configuration which is supposed to be appropriate for a desktop machine. My computer is equipped with 8 GiB of RAM. There’s 8 GiB of swap on a fast SSD. I have observed that a web browser tab going berserk and eating all available memory only gets killed by oomd after the system has been frozen for several minutes. I can reproduce this problem by running the command python3 -c 'import numpy; [numpy.arange(1000000) for i in range(1000000)]' RAM and swap are filled in a matter of seconds and the system becomes totally frozen shortly after (to the point that even the mouse pointer stops to move). Starting from that point, it takes about five minutes for oomd to do its grim job. Curiously, when re-running the same command shortly after, the intervention happens earlier, but still takes at least 30 seconds. This could be related to the fact that running averages of system pressure are used as a trigger. I assume that this problem is not specific to my machine. If this is indeed the case, perhaps a more aggressive default configuration would be more appropriate? Or at least an example under /usr/share/oomd on how to achieve that. The documentation for oomd is verbose and complex, so that coming up with such a configuration is complicated for a user. Regards Christoph -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable'), (100, 'bullseye-fasttrack'), (50, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages oomd depends on: ii init-system-helpers 1.60 ii libc6 2.31-13 ii libgcc-s1 10.2.1-6 ii libjsoncpp24 1.9.4-4 ii libstdc++6 10.2.1-6 ii libsystemd0 247.3-6 oomd recommends no packages. oomd suggests no packages. -- no debconf information