Control: reassign -1 src:linux 5.2.17-1 Control: tag -1 moreinfo On Thu, 2019-11-21 at 08:58 +0000, Anton Ivanov wrote:Package: linux-image-5.2.0-3-amd64 Version: 5.2.17+1 Severity: important Dear Maintainer, Dear Maintainer, OOM handling appears to be broken in 5.2.17-1 if hugepages are enabled. Test system: AMD A4-5300, 40G RAM, no swap, booted disklessly. Without hugepages enabled can compile dpdk without any issues. With huge pages enabled it will reproducibly OOM when trying to link one of the libraries. There are 20G+ free RAM at that point according to free with the rest being mostly used as buffers. It is sufficient to just enable huge pages to trigger this (2G out of 40G), they are not allocated or used by anything.What do you mean by "if hugepages are enabled"? hugetlbfs and THP are enabled by default.
$ tail -2 sysctl.conf
vm.nr_hugepages=1024
If you do not have that, compile completes fine. If you have that compile blows up when linking one of the dpdk libraries. At that point the machine has ~ 20G free RAM.
You need to provide a log of the OOM messages.
Ack. I will re-run the tests tomorrow and update the bug with
detailed logs and the OOM.
Ben.
-- Anton R. Ivanov https://www.kot-begemot.co.uk/