Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #984457

Bug#945213: linux-image-5.2.0-3-amd64: OOM handling broken if hugepages are enabled

From Anton Ivanov <anton.ivanov@kot-begemot.co.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#945213: linux-image-5.2.0-3-amd64: OOM handling broken if hugepages are enabled
Date 2019-11-23 00:00 +0100
Message-ID <z5q4b-7c2-9@gated-at.bofh.it> (permalink)
References <z4QWJ-2y2-1@gated-at.bofh.it> <z5mWB-5kx-5@gated-at.bofh.it> <z4QWJ-2y2-1@gated-at.bofh.it> <z5mWB-5kx-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 22/11/2019 19:32, Ben Hutchings wrote:
> 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/

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#945213: linux-image-5.2.0-3-amd64: OOM handling broken if hugepages are enabled Anton Ivanov <anton.ivanov@kot-begemot.co.uk> - 2019-11-21 10:30 +0100
  Bug#945213: linux-image-5.2.0-3-amd64: OOM handling broken if hugepages are enabled Ben Hutchings <ben@decadent.org.uk> - 2019-11-22 20:40 +0100
    Bug#945213: linux-image-5.2.0-3-amd64: OOM handling broken if hugepages are enabled Anton Ivanov <anton.ivanov@kot-begemot.co.uk> - 2019-11-23 00:00 +0100

csiph-web