Not sure when it started. I can only go by the logs I have, and they only go back nine days. But the postgres job that I mentioned previously, and which caused several oom-kill's in a row, was last run a month and a half ago, and at that time it ran without any problems. But it may have run without being logged into Unity desktop, not sure. And other random oom-kills may have gone unnoticed.
I'll take a look at installing the upstream kernels you cited. I've never manually installed a kernel from the .deb's before. I guess I'll use https://wiki.ubuntu.com/Kernel/MainlineBuilds?action=show&redirect=KernelMainlineBuilds as a guide. Looks like I'll have to uninstall VirtualBox. If that's all I have to do, and if installing the upstream kernels doesn't generate any errors, I'll report back with findings. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1811093 Title: Bogus "Out of Memory" compiz invoked oom-killer Status in linux package in Ubuntu: Incomplete Bug description: This has happened five times in the past week (four times in the past 36 hours): kernel: compiz invoked oom-killer: There is plenty of free core memory and almost no swap in use when it happens. This is Xenial with kernel version is 4.4.0-141, which contains fix to previously reported bug #1655842 "Out of Memory" oom-killer bug. I only have one week of logs to go by, which contain five occurrences. It has happened four times in the past 36 hours. Sometimes it happens right after logging into the unity / lighdm desktop (three out of five times), but not always. In four out of five occurrences a postgres job was running and oom-killer killed postgres. In the one other instance, postgres was quietly idle in the background and oom-killer killed Thunderbird. Kernel messages in syslog from five occurrences: compiz invoked oom-killer: gfp_mask=0x24040c0, order=3, oom_score_adj=0 compiz invoked oom-killer: gfp_mask=0x24040c0, order=3, oom_score_adj=0 compiz invoked oom-killer: gfp_mask=0x24040c0, order=2, oom_score_adj=0 compiz invoked oom-killer: gfp_mask=0x24040c0, order=2, oom_score_adj=0 compiz invoked oom-killer: gfp_mask=0x24040c0, order=3, oom_score_adj=0 Additional info: $> lsb_release -rd Description: Ubuntu 16.04.5 LTS Release: 16.04 $> cat /proc/version_signature Ubuntu 4.4.0-141.167-generic 4.4.162 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1811093/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp