Could coredump itself be responsible for a complete computer freeze requiring an AltSysreq SUB?
Let me explain.
On Windows, sometimes a page freezes in Brave or Kodi freezes. It’s annoying, but it’s limited to the affected program, and the system recovers fast.
On Fedora, when Brave or Kodi has one of these issues, it generates a coredump, and the entire computer seems frozen. It’s impossible to switch windows, open a new program, or type at the keyboard. This happened again yesterday, and I was about to give up when control was finally restored. An htop command revealed that systemd.coredump was using 75% of the CPU, as I was starting to regain control.
If coredump is the culprit, and I don’t need it anyway, I might as well do without it. Is it causing more problems than the original issue? What should I do to disable it forever? sudo systemctl mask systemd.coredump.service && sudo systemctl mask coredump.socket ?
Grok suggested an override instead of masking:
sudo mkdir -p /etc/systemd/coredump.conf.d
sudo nano /etc/systemd/coredump.conf.d/disable.conf
[Coredump]
Storage=none
ProcessSizeMax=0
sudo systemctl daemon-reload
Do any other ideas come to mind?