Comment 5 for bug 1966381

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

wow, looking at the systemd code (even upstream), oomd is counting pagecache as 'used' memory which is massively unfair as the kernel is responsible for pagecache use, not userspace, and it's not even accurate (from a OOM perspective) since the kernel will drop pagecache as memory pressure increases.

Definitely some discussion and patching needs to happen upstream in systemd I think.