Comment 10 for bug 1966381

Revision history for this message
Dan Streetman (ddstreet) wrote : Re: applications crash that never crashed under Ubuntu-20.04

> I think you have a problem there too.

oh I'm certainly not claiming a 1g default swap is appropriate, that does seem far, far too small to me and will likely cause widespread issues beyond just this, I was only saying that tweaking the systemd-oomd swap % full setting would IMHO not be likely to fix this very well - and as you point out increasing the swap size to a more reasonable size almost certainly will help (and might be why upstream hadn't noticed this before), regardless of the systemd-oomd swap % used default setting, because it would be far less likely to fill swap up to the oomd swap % full default.

> Maybe running with such a starved swapspace triggers systemd-oom to do weird things?

From my quick read of the code, it doesn't seem to be doing anything weird at all, I think it's doing exactly what it's programmed to do. I just don't think the code is correct.