Systemd-oomd issues

systemd-oomd doesn’t work properly.

$ inxi -Fazy
System:
  Kernel: 5.15.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=84df7f43-d6aa-4571-9158-a412f3fe011a rw rootflags=subvol=@
    cryptdevice=UUID=eb105ec4-4644-4fd3-963e-d2617b6d9a8b:cryptroot apparmor=1
    security=apparmor
    bootsplash.bootfile=/bootsplash-themes/manjaro/bootsplash
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 2007VW1 v: ThinkPad T60
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 2007VW1 serial: <superuser required> BIOS: LENOVO
    v: 79ETE3WW (2.23 ) date: 09/12/2008
Battery:
  ID-1: BAT0 charge: 38.7 Wh (100.0%) condition: 38.7/56.2 Wh (68.9%)
    volts: 12.5 min: 10.8 model: Panasonic 92P1139 type: Li-ion serial: <filter>
    status: Full
CPU:
  Info: model: Intel Core2 T7200 bits: 64 type: MCP arch: Core Merom family: 6
    model-id: 0xF (15) stepping: 6 microcode: 0xD1
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1988 high: 1990 min/max: 1000/2000 scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 1987 2: 1990
    bogomips: 7982
  Flags: ht lm nx pae sse sse2 sse3 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds
    status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD RV515/M54 [Mobility Radeon X1400]
    vendor: Lenovo Thinkpad T60 model 2007 driver: radeon v: kernel
    bus-ID: 01:00.0 chip-ID: 1002:7145 class-ID: 0300
  Display: x11 server: X.Org 1.21.1.2 compositor: xfwm4 v: 4.16.1 driver:
    loaded: ati,radeon unloaded: modesetting alternate: fbdev,vesa
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1400x1050 s-dpi: 96 s-size: 370x277mm (14.6x10.9")
    s-diag: 462mm (18.2")
  Monitor-1: LVDS res: 1400x1050 hz: 60 dpi: 117 size: 305x228mm (12.0x9.0")
    diag: 381mm (15")
  OpenGL: renderer: ATI RV515 v: 2.1 Mesa 21.3.2 direct render: Yes
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio
    vendor: Lenovo ThinkPad R60/T60/X60 series driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.12-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.42 running: no
Network:
  Device-1: Intel 82573L Gigabit Ethernet vendor: Lenovo ThinkPad T60
    driver: e1000e v: kernel port: 3000 bus-ID: 02:00.0 chip-ID: 8086:109a
    class-ID: 0200
  IF: ens2 state: down mac: <filter>
  Device-2: Intel PRO/Wireless 3945ABG [Golan] Network driver: iwl3945
    v: in-tree:ds bus-ID: 03:00.0 chip-ID: 8086:4227 class-ID: 0280
  IF: wls3 state: up mac: <filter>
Drives:
  Local Storage: total: 111.79 GiB used: 16.47 GiB (14.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 EVO 120GB
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 1.5 Gb/s
    type: SSD serial: <filter> rev: DB6Q scheme: MBR
Partition:
  ID-1: / raw-size: 111.29 GiB size: 111.29 GiB (100.00%)
    used: 16.47 GiB (14.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cryptroot
  ID-2: /home raw-size: 111.29 GiB size: 111.29 GiB (100.00%)
    used: 16.47 GiB (14.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: cryptroot
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 246.9 MiB used: 127.1 MiB (51.5%)
    priority: 32767 dev: /dev/zram0
  ID-2: swap-2 type: zram size: 246.9 MiB used: 126.6 MiB (51.3%)
    priority: 32767 dev: /dev/zram1
Sensors:
  System Temperatures: cpu: 69.0 C mobo: 69.0 C
  Fan Speeds (RPM): fan-1: 3405
Info:
  Processes: 207 Uptime: 20h 50m wakeups: 1 Memory: 1.93 GiB
  used: 1.16 GiB (60.0%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 1141 lib: 331 flatpak: 0 Shell: Zsh v: 5.8
  running-in: xfce4-terminal inxi: 3.3.11
$ journalctl -p err -b

Dez 30 13:49:46 memepad systemd-oomd[516]: Failed to connect to /run/systemd/io.system.ManagedOOM: Connection refused
Dez 30 13:49:46 memepad systemd-oomd[516]: Failed to acquire varlink connection: Connection refused
Dez 30 13:49:46 memepad systemd-oomd[516]: Event loop failed: Connection refused

I can’t reproduce that. Not sure if it would make any difference, but I am using the systemd-oomd-defaults AUR package.

Hm, maybe it’s an upstream bug but I haven’t found any issues on GitHub which describes this.