Posting this here to exchange notes before I go to wherever dnf lives.
For utterly baffling reasons, the version of dnf on Rocky Linux 9.x (current one is 4.14) needs literally gigabytes of memory for dnf makecache --timer. Several of my VMs run at capacity, and the spike of memory caused by this job leaves the box swapping or frozen.
I’ve been happily disabling this unit across all RHEL 9 boxes for maybe a year now but it stung me again on a new box a few days ago (I forgot to disable it) and now I’m wondering if anyone out there is even aware of this issue.
I routinely disable it, systemctl disable dnf-makecache.timer - which is easy if you utilize VM templates in vmware. The purpose for which it’s enabled by default eludes my comprehension…