system/easy-kernel (4.14.1-mc1): oom_reaper: unable to reap
Bugzilla ID | 47 |
Reporter | A. Wilcox (awilfox) |
Assignee | Horst Burkhardt (mc68030) |
Reported | 2018-01-08 22:52:49 -0600 |
Modified | 2018-01-08 23:54:32 -0600 |
Status | RESOLVED NOTABUG |
Version | 1.0-ALPHA4 |
Hardware | Adélie Linux / PowerPC (64-bit) |
Importance | High / critical |
Description
Seen during build of plasma-desktop-5.8.7 in dual CPU mode (two invocations of c++ on one 4 GB node):
[2571032.429332] gpg-agent invoked oom-killer: gfp_mask=0x17000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), nodemask=(null), order=2, oom_score_adj=0
[2571032.429342] gpg-agent cpuset=/ mems_allowed=0
[2571032.429355] CPU: 0 PID: 21854 Comm: gpg-agent Tainted: G W 4.14.4-mc1-easy #1 (closed)
[2571032.429358] Call Trace:
[2571032.429371] [c000000164537760] [c0000000009c5628] .dump_stack+0xa8/0xf0 (unreliable)
[2571032.429380] [c0000001645377f0] [c0000000001ed528] .dump_header+0xb4/0x24c
[2571032.429386] [c0000001645378c0] [c0000000001eca34] .oom_kill_process+0x3b4/0x640
[2571032.429391] [c000000164537990] [c0000000001ed13c] .out_of_memory+0x10c/0x3b0
[2571032.429397] [c000000164537a30] [c0000000001f3f98] .__alloc_pages_nodemask+0x1048/0x1120
[2571032.429405] [c000000164537c30] [c0000000000d0924] .copy_process.isra.5.part.6+0x184/0x1850
[2571032.429412] [c000000164537d60] [c0000000000d21a4] ._do_fork+0xc4/0x4d0
[2571032.429420] [c000000164537e30] [c00000000000c118] .ppc_clone+0x8/0xc
[2571032.429492] Mem-Info:
[2571032.429503] active_anon:971099 inactive_anon:48 isolated_anon:0
[2571032.429511] Node 0 active_anon:3884396kB inactive_anon:192kB active_file:264kB inactive_file:320kB unevictable:4kB isolated(anon):0kB isolated(file):40kB mapped:76kB dirty:0kB writeback:0kB shmem:328kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[2571032.429519] DMA free:23216kB min:7768kB low:11540kB high:15312kB active_anon:3884396kB inactive_anon:192kB active_file:464kB inactive_file:716kB unevictable:4kB writepending:0kB present:4194304kB managed:3990796kB mlocked:4kB kernel_stack:1456kB pagetables:8720kB bounce:0kB free_pcp:788kB local_pcp:60kB free_cma:300kB
[2571032.429521] lowmem_reserve[]: 0 0 0 0
[2571032.429529] DMA: 7734kB (MEHC) 4928kB (UMHC) 916kB (UH) 432kB (H) 464kB (H) 5128kB (H) 5256kB (H) 3512kB (H) 21024kB (H) 32048kB (H) 14096kB (H) 08192kB 0*16384kB = 23300kB
[2571032.429571] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=16384kB
[2571032.429573] 263 total pagecache pages
[2571032.429576] 0 pages in swap cache
[2571032.429579] Swap cache stats: add 0, delete 0, find 0/0
[2571032.429581] Free swap = 0kB
[2571032.429582] Total swap = 0kB
[2571032.429584] 1048576 pages RAM
[2571032.429586] 0 pages HighMem/MovableOnly
[2571032.429587] 50877 pages reserved
[2571032.429589] 53248 pages cma reserved
[2571032.429590] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name
[2571032.429610] [ 1679] 0 1679 736 136 7 4 0 -1000 udevd
[2571032.429616] [ 2522] 0 2522 485 22 5 4 0 0 login
[2571032.429622] [ 2523] 0 2523 241 1 4 3 0 0 agetty
[2571032.429627] [ 2524] 0 2524 241 1 4 3 0 0 agetty
[2571032.429631] [ 2525] 0 2525 241 1 3 3 0 0 agetty
[2571032.429636] [ 2526] 0 2526 241 1 4 3 0 0 agetty
[2571032.429641] [ 2527] 0 2527 241 1 3 3 0 0 agetty
[2571032.429646] [ 2563] 1000 2563 1049 155 6 4 0 0 zsh
[2571032.429651] [ 2572] 1000 2572 485 22 5 4 0 0 su
[2571032.429657] [ 2574] 0 2574 780 88 7 4 0 0 bash
[2571032.429662] [21854] 1000 21854 749 36 5 4 0 0 gpg-agent
[2571032.429667] [21856] 1000 21856 828 12 7 4 0 0 scdaemon
[2571032.429673] [ 7516] 0 7516 363 29 4 3 0 0 dhcpcd
[2571032.429679] [ 7646] 0 7646 1070 81 7 4 0 -1000 sshd
[2571032.429684] [ 9441] 0 9441 1077 78 6 4 0 0 sshd
[2571032.429689] [ 9443] 1000 9443 1092 103 6 4 0 0 sshd
[2571032.429694] [ 9444] 1000 9444 1289 406 5 4 0 0 zsh
[2571032.429700] [10076] 0 10076 1077 79 6 4 0 0 sshd
[2571032.429705] [10078] 1000 10078 1094 106 6 4 0 0 sshd
[2571032.429709] [10079] 1000 10079 1629 713 7 4 0 0 zsh
[2571032.429715] [ 3561] 1000 3561 814 124 6 4 0 0 bash
[2571032.429721] [24482] 1000 24482 1232 549 7 3 0 0 abuild
[2571032.429726] [27224] 1000 27224 410 134 5 4 0 0 make
[2571032.429731] [27227] 1000 27227 665 389 6 3 0 0 make
[2571032.429736] [ 624] 1000 624 495 213 5 4 0 0 make
[2571032.429742] [ 756] 1000 756 527 2 4 4 0 0 c++
[2571032.429747] [ 757] 1000 757 673242 626368 1316 13 0 0 cc1plus
[2571032.429752] [ 891] 1000 891 527 2 4 3 0 0 c++
[2571032.429757] [ 892] 1000 892 369314 341494 716 9 0 0 cc1plus
[2571032.429761] Out of memory: Kill process 757 (cc1plus) score 629 or sacrifice child
[2571032.429775] Killed process 757 (cc1plus) total-vm:2692968kB, anon-rss:2505472kB, file-rss:0kB, shmem-rss:0kB
[2571033.568778] oom_reaper: unable to reap pid:757 (cc1plus)
Because of this, c++ is stuck in wait4(2):
awilcox on glen [pts/2 Mon 8 22:57] /proc/756: cat stack
[] 0xc000000164ec77e0
[] .__switch_to+0x298/0x460
[] .do_wait+0x22c/0x2d0
[] .kernel_wait4+0x94/0x1b0
[] .SyS_wait4+0x74/0xb0
[] system_call+0x58/0x6c
And the build is stuck; CPU 1 finished all other tasks, except the Keyboard KCM that CPU 0 was building:
[100%] Built target kfontviewpart
_