BTRFS Page allocation failure with Bacula.

Bug #1576297 reported by MikeB
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

As soon as bacula starts running I see the below errors in the kernel log, and the server eventually hangs at some point. I'm backing up our servers to a local BTRFS volume on a local drive, nothing fancy and it used to work really well in Ubuntu 14.04.

Apr 27 21:05:18 backup kernel: [343463.805173] kworker/u4:5: page allocation failure: order:0, mode:0x2204020
Apr 27 21:05:18 backup kernel: [343463.805178] CPU: 1 PID: 19811 Comm: kworker/u4:5 Not tainted 4.4.0-21-generic #37-Ubuntu
Apr 27 21:05:18 backup kernel: [343463.805179] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Apr 27 21:05:18 backup kernel: [343463.805199] Workqueue: btrfs-submit btrfs_submit_helper [btrfs]
Apr 27 21:05:18 backup kernel: [343463.805201] 0000000000000086 000000005236f502 ffff880019f2b548 ffffffff813e93c3
Apr 27 21:05:18 backup kernel: [343463.805203] 0000000002204020 0000000000000000 ffff880019f2b5d8 ffffffff81192fba
Apr 27 21:05:18 backup kernel: [343463.805205] ffff88007fff9d40 ffff88007fffb6e0 0000000000000000 ffffffff00000060
Apr 27 21:05:18 backup kernel: [343463.805206] Call Trace:
Apr 27 21:05:18 backup kernel: [343463.805211] [<ffffffff813e93c3>] dump_stack+0x63/0x90
Apr 27 21:05:18 backup kernel: [343463.805214] [<ffffffff81192fba>] warn_alloc_failed+0xfa/0x150
Apr 27 21:05:18 backup kernel: [343463.805217] [<ffffffff81196b01>] __alloc_pages_nodemask+0x341/0xb60
Apr 27 21:05:18 backup kernel: [343463.805220] [<ffffffff811e084c>] alloc_pages_current+0x8c/0x110
Apr 27 21:05:18 backup kernel: [343463.805222] [<ffffffff811e992f>] new_slab+0x28f/0x490
Apr 27 21:05:18 backup kernel: [343463.805224] [<ffffffff811ea97b>] ___slab_alloc+0x22b/0x460
Apr 27 21:05:18 backup kernel: [343463.805227] [<ffffffff814bf3cd>] ? alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.805228] [<ffffffff814bf3cd>] ? alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.805230] [<ffffffff811eabd0>] __slab_alloc+0x20/0x40
Apr 27 21:05:18 backup kernel: [343463.805231] [<ffffffff811ec555>] __kmalloc+0x1d5/0x250
Apr 27 21:05:18 backup kernel: [343463.805233] [<ffffffff814bf3cd>] alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.805234] [<ffffffff814bfaaa>] virtqueue_add_sgs+0x2ca/0x3a0
Apr 27 21:05:18 backup kernel: [343463.805237] [<ffffffff81571b9d>] __virtblk_add_req+0xbd/0x220
Apr 27 21:05:18 backup kernel: [343463.805239] [<ffffffff8118fe05>] ? mempool_alloc_slab+0x15/0x20
Apr 27 21:05:18 backup kernel: [343463.805242] [<ffffffff813c0113>] ? blk_rq_map_sg+0x223/0x570
Apr 27 21:05:18 backup kernel: [343463.805243] [<ffffffff81571e82>] virtio_queue_rq+0x112/0x280
Apr 27 21:05:18 backup kernel: [343463.805245] [<ffffffff813c48c6>] __blk_mq_run_hw_queue+0x1d6/0x380
Apr 27 21:05:18 backup kernel: [343463.805247] [<ffffffff813c46ce>] blk_mq_run_hw_queue+0x8e/0xb0
Apr 27 21:05:18 backup kernel: [343463.805248] [<ffffffff813c5c46>] blk_mq_insert_requests+0xf6/0x1c0
Apr 27 21:05:18 backup kernel: [343463.805250] [<ffffffff813c6958>] blk_mq_flush_plug_list+0x128/0x150
Apr 27 21:05:18 backup kernel: [343463.805251] [<ffffffff813bb606>] blk_flush_plug_list+0xd6/0x240
Apr 27 21:05:18 backup kernel: [343463.805253] [<ffffffff813bbb7c>] blk_finish_plug+0x2c/0x40
Apr 27 21:05:18 backup kernel: [343463.805264] [<ffffffffc01a7b13>] run_scheduled_bios+0x363/0x530 [btrfs]
Apr 27 21:05:18 backup kernel: [343463.805275] [<ffffffffc01a7cf5>] pending_bios_fn+0x15/0x20 [btrfs]
Apr 27 21:05:18 backup kernel: [343463.805285] [<ffffffffc01b2e8a>] btrfs_scrubparity_helper+0xca/0x2f0 [btrfs]
Apr 27 21:05:18 backup kernel: [343463.805294] [<ffffffffc01b31be>] btrfs_submit_helper+0xe/0x10 [btrfs]
Apr 27 21:05:18 backup kernel: [343463.805297] [<ffffffff81099ff2>] process_one_work+0x162/0x480
Apr 27 21:05:18 backup kernel: [343463.805298] [<ffffffff8109a35b>] worker_thread+0x4b/0x4c0
Apr 27 21:05:18 backup kernel: [343463.805300] [<ffffffff8109a310>] ? process_one_work+0x480/0x480
Apr 27 21:05:18 backup kernel: [343463.805301] [<ffffffff8109a310>] ? process_one_work+0x480/0x480
Apr 27 21:05:18 backup kernel: [343463.805303] [<ffffffff810a0528>] kthread+0xd8/0xf0
Apr 27 21:05:18 backup kernel: [343463.805305] [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
Apr 27 21:05:18 backup kernel: [343463.805308] [<ffffffff8182488f>] ret_from_fork+0x3f/0x70
Apr 27 21:05:18 backup kernel: [343463.805309] [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
Apr 27 21:05:18 backup kernel: [343463.805310] Mem-Info:
Apr 27 21:05:18 backup kernel: [343463.805313] active_anon:43184 inactive_anon:51940 isolated_anon:0
Apr 27 21:05:18 backup kernel: [343463.805313] active_file:123451 inactive_file:249283 isolated_file:0
Apr 27 21:05:18 backup kernel: [343463.805313] unevictable:1752 dirty:32219 writeback:6149 unstable:0
Apr 27 21:05:18 backup kernel: [343463.805313] slab_reclaimable:18341 slab_unreclaimable:4095
Apr 27 21:05:18 backup kernel: [343463.805313] mapped:58659 shmem:79658 pagetables:1755 bounce:0
Apr 27 21:05:18 backup kernel: [343463.805313] free:12908 free_pcp:138 free_cma:0
Apr 27 21:05:18 backup kernel: [343463.805315] Node 0 DMA free:9992kB min:40kB low:48kB high:60kB active_anon:28kB inactive_anon:396kB active_file:256kB inactive_file:884kB unevictable:92kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:92kB dirty:936kB writeback:0kB mapped:60kB shmem:316kB slab_reclaimable:3424kB slab_unreclaimable:308kB kernel_stack:192kB pagetables:60kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:2580 all_unreclaimable? no
Apr 27 21:05:18 backup kernel: [343463.805319] lowmem_reserve[]: 0 1981 1981 1981 1981
Apr 27 21:05:18 backup kernel: [343463.805321] Node 0 DMA32 free:41640kB min:5580kB low:6972kB high:8368kB active_anon:172708kB inactive_anon:207364kB active_file:493548kB inactive_file:996248kB unevictable:6916kB isolated(anon):0kB isolated(file):0kB present:2080760kB managed:2032544kB mlocked:6916kB dirty:127940kB writeback:24596kB mapped:234576kB shmem:318316kB slab_reclaimable:69940kB slab_unreclaimable:16072kB kernel_stack:3184kB pagetables:6960kB unstable:0kB bounce:0kB free_pcp:552kB local_pcp:224kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 27 21:05:18 backup kernel: [343463.805325] lowmem_reserve[]: 0 0 0 0 0
Apr 27 21:05:18 backup kernel: [343463.805327] Node 0 DMA: 17*4kB (UEH) 65*8kB (UMEH) 8*16kB (UMH) 24*32kB (UMEH) 21*64kB (UMEH) 14*128kB (UMH) 7*256kB (UMH) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 9996kB
Apr 27 21:05:18 backup kernel: [343463.805335] Node 0 DMA32: 60*4kB (H) 75*8kB (H) 64*16kB (H) 33*32kB (H) 44*64kB (H) 33*128kB (H) 20*256kB (H) 14*512kB (H) 7*1024kB (H) 6*2048kB (H) 0*4096kB = 41704kB
Apr 27 21:05:18 backup kernel: [343463.805343] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Apr 27 21:05:18 backup kernel: [343463.805343] 453607 total pagecache pages
Apr 27 21:05:18 backup kernel: [343463.805345] 317 pages in swap cache
Apr 27 21:05:18 backup kernel: [343463.805346] Swap cache stats: add 4177, delete 3860, find 161061/161539
Apr 27 21:05:18 backup kernel: [343463.805346] Free swap = 1043312kB
Apr 27 21:05:18 backup kernel: [343463.805347] Total swap = 1046524kB
Apr 27 21:05:18 backup kernel: [343463.805348] 524188 pages RAM
Apr 27 21:05:18 backup kernel: [343463.805349] 0 pages HighMem/MovableOnly
Apr 27 21:05:18 backup kernel: [343463.805349] 12075 pages reserved
Apr 27 21:05:18 backup kernel: [343463.805350] 0 pages cma reserved
Apr 27 21:05:18 backup kernel: [343463.805350] 0 pages hwpoisoned
Apr 27 21:05:18 backup kernel: [343463.805352] SLUB: Unable to allocate memory on node -1 (gfp=0x2080020)
Apr 27 21:05:18 backup kernel: [343463.805353] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
Apr 27 21:05:18 backup kernel: [343463.805354] node 0: slabs: 39, objs: 470, free: 0
Apr 27 21:05:18 backup kernel: [343463.816748] kworker/1:1H: page allocation failure: order:0, mode:0x2204020
Apr 27 21:05:18 backup kernel: [343463.816752] CPU: 1 PID: 154 Comm: kworker/1:1H Not tainted 4.4.0-21-generic #37-Ubuntu
Apr 27 21:05:18 backup kernel: [343463.816753] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Apr 27 21:05:18 backup kernel: [343463.816758] Workqueue: kblockd blk_mq_run_work_fn
Apr 27 21:05:18 backup kernel: [343463.816759] 0000000000000086 00000000010bc024 ffff88003528f7e8 ffffffff813e93c3
Apr 27 21:05:18 backup kernel: [343463.816761] 0000000002204020 0000000000000000 ffff88003528f878 ffffffff81192fba
Apr 27 21:05:18 backup kernel: [343463.816763] ffff88007fff9d40 ffff88007fffb6e0 0000000000000000 ffffffff00000060
Apr 27 21:05:18 backup kernel: [343463.816764] Call Trace:
Apr 27 21:05:18 backup kernel: [343463.816768] [<ffffffff813e93c3>] dump_stack+0x63/0x90
Apr 27 21:05:18 backup kernel: [343463.816771] [<ffffffff81192fba>] warn_alloc_failed+0xfa/0x150
Apr 27 21:05:18 backup kernel: [343463.816774] [<ffffffff81196b01>] __alloc_pages_nodemask+0x341/0xb60
Apr 27 21:05:18 backup kernel: [343463.816777] [<ffffffff810d8787>] ? vprintk_emit+0x2d7/0x520
Apr 27 21:05:18 backup kernel: [343463.816780] [<ffffffff811e084c>] alloc_pages_current+0x8c/0x110
Apr 27 21:05:18 backup kernel: [343463.816782] [<ffffffff811e992f>] new_slab+0x28f/0x490
Apr 27 21:05:18 backup kernel: [343463.816783] [<ffffffff811ea97b>] ___slab_alloc+0x22b/0x460
Apr 27 21:05:18 backup kernel: [343463.816786] [<ffffffff814bf3cd>] ? alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.816788] [<ffffffff810bc8d5>] ? update_sd_lb_stats+0x115/0x520
Apr 27 21:05:18 backup kernel: [343463.816790] [<ffffffff814bf3cd>] ? alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.816791] [<ffffffff811eabd0>] __slab_alloc+0x20/0x40
Apr 27 21:05:18 backup kernel: [343463.816793] [<ffffffff811ec555>] __kmalloc+0x1d5/0x250
Apr 27 21:05:18 backup kernel: [343463.816794] [<ffffffff814bf3cd>] alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.816796] [<ffffffff814bfaaa>] virtqueue_add_sgs+0x2ca/0x3a0
Apr 27 21:05:18 backup kernel: [343463.816798] [<ffffffff81571b9d>] __virtblk_add_req+0xbd/0x220
Apr 27 21:05:18 backup kernel: [343463.816801] [<ffffffff813c0113>] ? blk_rq_map_sg+0x223/0x570
Apr 27 21:05:18 backup kernel: [343463.816803] [<ffffffff81571e82>] virtio_queue_rq+0x112/0x280
Apr 27 21:05:18 backup kernel: [343463.816805] [<ffffffff813c48c6>] __blk_mq_run_hw_queue+0x1d6/0x380
Apr 27 21:05:18 backup kernel: [343463.816806] [<ffffffff813c4df2>] blk_mq_run_work_fn+0x12/0x20
Apr 27 21:05:18 backup kernel: [343463.816809] [<ffffffff81099ff2>] process_one_work+0x162/0x480
Apr 27 21:05:18 backup kernel: [343463.816810] [<ffffffff8109a35b>] worker_thread+0x4b/0x4c0
Apr 27 21:05:18 backup kernel: [343463.816812] [<ffffffff8109a310>] ? process_one_work+0x480/0x480
Apr 27 21:05:18 backup kernel: [343463.816813] [<ffffffff8109a310>] ? process_one_work+0x480/0x480
Apr 27 21:05:18 backup kernel: [343463.816815] [<ffffffff810a0528>] kthread+0xd8/0xf0
Apr 27 21:05:18 backup kernel: [343463.816816] [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
Apr 27 21:05:18 backup kernel: [343463.816819] [<ffffffff8182488f>] ret_from_fork+0x3f/0x70
Apr 27 21:05:18 backup kernel: [343463.816821] [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
Apr 27 21:05:18 backup kernel: [343463.816822] Mem-Info:
Apr 27 21:05:18 backup kernel: [343463.816825] active_anon:43184 inactive_anon:51940 isolated_anon:0
Apr 27 21:05:18 backup kernel: [343463.816825] active_file:123441 inactive_file:249312 isolated_file:0
Apr 27 21:05:18 backup kernel: [343463.816825] unevictable:1752 dirty:32397 writeback:5123 unstable:0
Apr 27 21:05:18 backup kernel: [343463.816825] slab_reclaimable:18360 slab_unreclaimable:4097
Apr 27 21:05:18 backup kernel: [343463.816825] mapped:58673 shmem:79658 pagetables:1755 bounce:0
Apr 27 21:05:18 backup kernel: [343463.816825] free:12867 free_pcp:107 free_cma:0
Apr 27 21:05:18 backup kernel: [343463.816827] Node 0 DMA free:9988kB min:40kB low:48kB high:60kB active_anon:28kB inactive_anon:396kB active_file:256kB inactive_file:884kB unevictable:92kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:92kB dirty:940kB writeback:0kB mapped:60kB shmem:316kB slab_reclaimable:3424kB slab_unreclaimable:316kB kernel_stack:192kB pagetables:60kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:532 all_unreclaimable? no
Apr 27 21:05:18 backup kernel: [343463.816831] lowmem_reserve[]: 0 1981 1981 1981 1981
Apr 27 21:05:18 backup kernel: [343463.816833] Node 0 DMA32 free:41480kB min:5580kB low:6972kB high:8368kB active_anon:172708kB inactive_anon:207364kB active_file:493508kB inactive_file:996364kB unevictable:6916kB isolated(anon):0kB isolated(file):0kB present:2080760kB managed:2032544kB mlocked:6916kB dirty:128648kB writeback:20492kB mapped:234632kB shmem:318316kB slab_reclaimable:70016kB slab_unreclaimable:16072kB kernel_stack:3184kB pagetables:6960kB unstable:0kB bounce:0kB free_pcp:428kB local_pcp:160kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 27 21:05:18 backup kernel: [343463.816837] lowmem_reserve[]: 0 0 0 0 0
Apr 27 21:05:18 backup kernel: [343463.816839] Node 0 DMA: 15*4kB (UEH) 65*8kB (UMEH) 8*16kB (UMH) 24*32kB (UMEH) 21*64kB (UMEH) 14*128kB (UMH) 7*256kB (UMH) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 9988kB
Apr 27 21:05:18 backup kernel: [343463.816847] Node 0 DMA32: 60*4kB (H) 75*8kB (H) 64*16kB (H) 29*32kB (H) 44*64kB (H) 33*128kB (H) 20*256kB (H) 14*512kB (H) 7*1024kB (H) 6*2048kB (H) 0*4096kB = 41576kB
Apr 27 21:05:18 backup kernel: [343463.816854] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Apr 27 21:05:18 backup kernel: [343463.816855] 453618 total pagecache pages
Apr 27 21:05:18 backup kernel: [343463.816856] 317 pages in swap cache
Apr 27 21:05:18 backup kernel: [343463.816857] Swap cache stats: add 4177, delete 3860, find 161061/161539
Apr 27 21:05:18 backup kernel: [343463.816858] Free swap = 1043312kB
Apr 27 21:05:18 backup kernel: [343463.816859] Total swap = 1046524kB
Apr 27 21:05:18 backup kernel: [343463.816860] 524188 pages RAM
Apr 27 21:05:18 backup kernel: [343463.816860] 0 pages HighMem/MovableOnly
Apr 27 21:05:18 backup kernel: [343463.816861] 12075 pages reserved
Apr 27 21:05:18 backup kernel: [343463.816861] 0 pages cma reserved
Apr 27 21:05:18 backup kernel: [343463.816862] 0 pages hwpoisoned
Apr 27 21:05:18 backup kernel: [343463.816863] SLUB: Unable to allocate memory on node -1 (gfp=0x2080020)
Apr 27 21:05:18 backup kernel: [343463.816865] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
Apr 27 21:05:18 backup kernel: [343463.816866] node 0: slabs: 41, objs: 474, free: 0
Apr 27 21:05:18 backup kernel: [343463.816872] kworker/1:1H: page allocation failure: order:0, mode:0x2204020
Apr 27 21:05:18 backup kernel: [343463.816873] CPU: 1 PID: 154 Comm: kworker/1:1H Not tainted 4.4.0-21-generic #37-Ubuntu
Apr 27 21:05:18 backup kernel: [343463.816874] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Apr 27 21:05:18 backup kernel: [343463.816875] Workqueue: kblockd blk_mq_run_work_fn
Apr 27 21:05:18 backup kernel: [343463.816876] 0000000000000086 00000000010bc024 ffff88003528f7e8 ffffffff813e93c3
Apr 27 21:05:18 backup kernel: [343463.816878] 0000000002204020 0000000000000000 ffff88003528f878 ffffffff81192fba
Apr 27 21:05:18 backup kernel: [343463.816879] ffff88007fff9d40 ffff88007fffb6e0 0000000000000000 ffffffff00000060
Apr 27 21:05:18 backup kernel: [343463.816881] Call Trace:
Apr 27 21:05:18 backup kernel: [343463.816882] [<ffffffff813e93c3>] dump_stack+0x63/0x90
Apr 27 21:05:18 backup kernel: [343463.816884] [<ffffffff81192fba>] warn_alloc_failed+0xfa/0x150
Apr 27 21:05:18 backup kernel: [343463.816885] [<ffffffff81196b01>] __alloc_pages_nodemask+0x341/0xb60
Apr 27 21:05:18 backup kernel: [343463.816888] [<ffffffff810d8787>] ? vprintk_emit+0x2d7/0x520
Apr 27 21:05:18 backup kernel: [343463.816890] [<ffffffff811e084c>] alloc_pages_current+0x8c/0x110
Apr 27 21:05:18 backup kernel: [343463.816891] [<ffffffff811e992f>] new_slab+0x28f/0x490
Apr 27 21:05:18 backup kernel: [343463.816893] [<ffffffff811ea97b>] ___slab_alloc+0x22b/0x460
Apr 27 21:05:18 backup kernel: [343463.816894] [<ffffffff814bf3cd>] ? alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.816896] [<ffffffff810bc8d5>] ? update_sd_lb_stats+0x115/0x520
Apr 27 21:05:18 backup kernel: [343463.816897] [<ffffffff814bf3cd>] ? alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.816899] [<ffffffff811eabd0>] __slab_alloc+0x20/0x40
Apr 27 21:05:18 backup kernel: [343463.816900] [<ffffffff811ec555>] __kmalloc+0x1d5/0x250
Apr 27 21:05:18 backup kernel: [343463.816901] [<ffffffff814bf3cd>] alloc_indirect.isra.4+0x1d/0x50
Apr 27 21:05:18 backup kernel: [343463.816903] [<ffffffff814bfaaa>] virtqueue_add_sgs+0x2ca/0x3a0
Apr 27 21:05:18 backup kernel: [343463.816905] [<ffffffff81571b9d>] __virtblk_add_req+0xbd/0x220
Apr 27 21:05:18 backup kernel: [343463.816907] [<ffffffff813c0113>] ? blk_rq_map_sg+0x223/0x570
Apr 27 21:05:18 backup kernel: [343463.816908] [<ffffffff81571e82>] virtio_queue_rq+0x112/0x280
Apr 27 21:05:18 backup kernel: [343463.816910] [<ffffffff813c48c6>] __blk_mq_run_hw_queue+0x1d6/0x380
Apr 27 21:05:18 backup kernel: [343463.816911] [<ffffffff813c4df2>] blk_mq_run_work_fn+0x12/0x20
Apr 27 21:05:18 backup kernel: [343463.816915] [<ffffffff81099ff2>] process_one_work+0x162/0x480
Apr 27 21:05:18 backup kernel: [343463.816916] [<ffffffff8109a35b>] worker_thread+0x4b/0x4c0
Apr 27 21:05:18 backup kernel: [343463.816918] [<ffffffff8109a310>] ? process_one_work+0x480/0x480
Apr 27 21:05:18 backup kernel: [343463.816919] [<ffffffff8109a310>] ? process_one_work+0x480/0x480
Apr 27 21:05:18 backup kernel: [343463.816921] [<ffffffff810a0528>] kthread+0xd8/0xf0
Apr 27 21:05:18 backup kernel: [343463.816922] [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
Apr 27 21:05:18 backup kernel: [343463.816924] [<ffffffff8182488f>] ret_from_fork+0x3f/0x70
Apr 27 21:05:18 backup kernel: [343463.816925] [<ffffffff810a0450>] ? kthread_create_on_node+0x1e0/0x1e0
Apr 27 21:05:18 backup kernel: [343463.816926] Mem-Info:
Apr 27 21:05:18 backup kernel: [343463.816929] active_anon:43184 inactive_anon:51940 isolated_anon:0
Apr 27 21:05:18 backup kernel: [343463.816929] active_file:123441 inactive_file:249312 isolated_file:0
Apr 27 21:05:18 backup kernel: [343463.816929] unevictable:1752 dirty:32397 writeback:5123 unstable:0
Apr 27 21:05:18 backup kernel: [343463.816929] slab_reclaimable:18360 slab_unreclaimable:4097
Apr 27 21:05:18 backup kernel: [343463.816929] mapped:58673 shmem:79658 pagetables:1755 bounce:0
Apr 27 21:05:18 backup kernel: [343463.816929] free:12867 free_pcp:107 free_cma:0
Apr 27 21:05:18 backup kernel: [343463.816931] Node 0 DMA free:9988kB min:40kB low:48kB high:60kB active_anon:28kB inactive_anon:396kB active_file:256kB inactive_file:884kB unevictable:92kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:92kB dirty:940kB writeback:0kB mapped:60kB shmem:316kB slab_reclaimable:3424kB slab_unreclaimable:316kB kernel_stack:192kB pagetables:60kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:532 all_unreclaimable? no
Apr 27 21:05:18 backup kernel: [343463.816938] lowmem_reserve[]: 0 1981 1981 1981 1981
Apr 27 21:05:18 backup kernel: [343463.816940] Node 0 DMA32 free:41480kB min:5580kB low:6972kB high:8368kB active_anon:172708kB inactive_anon:207364kB active_file:493508kB inactive_file:996364kB unevictable:6916kB isolated(anon):0kB isolated(file):0kB present:2080760kB managed:2032544kB mlocked:6916kB dirty:128648kB writeback:20492kB mapped:234632kB shmem:318316kB slab_reclaimable:70016kB slab_unreclaimable:16072kB kernel_stack:3184kB pagetables:6960kB unstable:0kB bounce:0kB free_pcp:428kB local_pcp:160kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Apr 27 21:05:18 backup kernel: [343463.816943] lowmem_reserve[]: 0 0 0 0 0
Apr 27 21:05:18 backup kernel: [343463.816945] Node 0 DMA: 15*4kB (UEH) 65*8kB (UMEH) 8*16kB (UMH) 24*32kB (UMEH) 21*64kB (UMEH) 14*128kB (UMH) 7*256kB (UMH) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 9988kB
Apr 27 21:05:18 backup kernel: [343463.816952] Node 0 DMA32: 60*4kB (H) 75*8kB (H) 64*16kB (H) 29*32kB (H) 44*64kB (H) 33*128kB (H) 20*256kB (H) 14*512kB (H) 7*1024kB (H) 6*2048kB (H) 0*4096kB = 41576kB
Apr 27 21:05:18 backup kernel: [343463.816960] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Apr 27 21:05:18 backup kernel: [343463.816960] 453618 total pagecache pages
Apr 27 21:05:18 backup kernel: [343463.816961] 317 pages in swap cache
Apr 27 21:05:18 backup kernel: [343463.816962] Swap cache stats: add 4177, delete 3860, find 161061/161539
Apr 27 21:05:18 backup kernel: [343463.816963] Free swap = 1043312kB
Apr 27 21:05:18 backup kernel: [343463.816963] Total swap = 1046524kB
Apr 27 21:05:18 backup kernel: [343463.816964] 524188 pages RAM
Apr 27 21:05:18 backup kernel: [343463.816965] 0 pages HighMem/MovableOnly
Apr 27 21:05:18 backup kernel: [343463.816965] 12075 pages reserved
Apr 27 21:05:18 backup kernel: [343463.816966] 0 pages cma reserved
Apr 27 21:05:18 backup kernel: [343463.816966] 0 pages hwpoisoned

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-21-generic 4.4.0-21.37
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.4.0-21-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
Date: Thu Apr 28 08:53:40 2016
HibernationDevice: RESUME=UUID=b13cd3f3-9607-4bcc-8ce7-78efe89b82b6
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.

 tun0 no wireless extensions.
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=0fdb77e4-84b1-4b4c-b681-f6c7b0fab4d2 ro elevator=deadline
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-21-generic N/A
 linux-backports-modules-4.4.0-21-generic N/A
 linux-firmware 1.157
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: Upgraded to xenial on 2016-04-21 (7 days ago)
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2011:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

Revision history for this message
MikeB (mikeb-timetrex) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.6 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-rc6-wily/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
MikeB (mikeb-timetrex) wrote :

Okay, I have installed 4.6 and ran a manual backup job, no error messages yet.

I will let it run overnight and let you know the results tomorrow.

Revision history for this message
MikeB (mikeb-timetrex) wrote :

I can confirm after a couple days running 4.6.0-040600rc6-generic, the error messages no longer appear.

Revision history for this message
MikeB (mikeb-timetrex) wrote :
Download full text (21.1 KiB)

Spoke too soon, though it may be a slightly different issue, but still appears to be BTRFS related. This is still on 4.6.0-040600rc6-generic, the memory on this server is 1GB.

[121025.879323] SLUB: Unable to allocate memory on node -1, gfp=0x2080020(GFP_ATOMIC)
[121025.879324] cache: kmalloc-256, object size: 256, buffer size: 256, default order: 0, min order: 0
[121025.879324] node 0: slabs: 148, objs: 2368, free: 0
[121025.879517] kworker/u4:2: page allocation failure: order:0, mode:0x2200020(GFP_NOWAIT|__GFP_HIGH|__GFP_NOTRACK)
[121025.879519] CPU: 1 PID: 9038 Comm: kworker/u4:2 Not tainted 4.6.0-040600rc6-generic #201605012031
[121025.879520] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[121025.879572] Workqueue: btrfs-worker btrfs_worker_helper [btrfs]
[121025.879574] 0000000000000086 00000000d14aff48 ffff88003fd03960 ffffffff813ef3b3
[121025.879576] 0000000000000000 0000000000000000 ffff88003fd039f0 ffffffff8119b3d4
[121025.879577] 0220002079d790e3 ffff88003fffb6e0 ffffffff82110ae0 ffffffff00000060
[121025.879579] Call Trace:
[121025.879580] <IRQ> [<ffffffff813ef3b3>] dump_stack+0x63/0x90
[121025.879584] [<ffffffff8119b3d4>] warn_alloc_failed+0x104/0x160
[121025.879586] [<ffffffff8119f059>] __alloc_pages_nodemask+0x4f9/0xc30
[121025.879588] [<ffffffff810dc3f1>] ? vprintk_emit+0x2a1/0x4d0
[121025.879590] [<ffffffff811ef0bc>] alloc_pages_current+0x8c/0x110
[121025.879592] [<ffffffff811f9252>] new_slab+0x452/0x5c0
[121025.879593] [<ffffffff811fa2c9>] ___slab_alloc+0x249/0x480
[121025.879595] [<ffffffff81723aea>] ? __build_skb+0x2a/0xe0
[121025.879596] [<ffffffff81723aea>] ? __build_skb+0x2a/0xe0
[121025.879598] [<ffffffff811fa520>] __slab_alloc+0x20/0x40
[121025.879599] [<ffffffff811fa6d2>] kmem_cache_alloc+0x192/0x1d0
[121025.879600] [<ffffffff81723aea>] ? __build_skb+0x2a/0xe0
[121025.879601] [<ffffffff81723aea>] __build_skb+0x2a/0xe0
[121025.879603] [<ffffffff81723dc8>] __napi_alloc_skb+0x98/0xd0
[121025.879605] [<ffffffff81603da6>] page_to_skb.isra.28+0x66/0x310
[121025.879607] [<ffffffff8160617f>] virtnet_receive+0x2df/0xa00
[121025.879609] [<ffffffff810a8b28>] ? update_rq_clock.part.81+0x18/0x40
[121025.879610] [<ffffffff816068bd>] virtnet_poll+0x1d/0x80
[121025.879612] [<ffffffff81733705>] net_rx_action+0x225/0x360
[121025.879615] [<ffffffff818433a6>] __do_softirq+0xf6/0x27e
[121025.879616] [<ffffffff81088483>] irq_exit+0xa3/0xb0
[121025.879617] [<ffffffff81843104>] do_IRQ+0x54/0xd0
[121025.879619] [<ffffffff81841202>] common_interrupt+0x82/0x82
[121025.879619] <EOI> [<ffffffff811ad389>] ? shrink_inactive_list+0x199/0x500
[121025.879623] [<ffffffff811ad5f5>] ? shrink_inactive_list+0x405/0x500
[121025.879626] [<ffffffff811ae09d>] shrink_zone_memcg+0x5ad/0x7a0
[121025.879627] [<ffffffff811a9500>] ? shrink_slab.part.39+0x240/0x3e0
[121025.879634] [<ffffffff8111975c>] ? css_next_descendant_pre+0x4c/0x60
[121025.879636] [<ffffffff8111975c>] ? css_next_descendant_pre+0x4c/0x60
[121025.879638] [<ffffffff811ae370>] shrink_zone+0xe0/0x300
[121025.879640] [<ffffffff811ae70e>] do_try_to_free_pages+0x17e/0x430
[121025.879642] [<ffffffff811aea8e>] try_to_free_pages+0xce/0x180
[121025.879644] [<ffff...

Revision history for this message
Thomas Mayer (thomas303) wrote :

As MikeB pointed out, the issue still exists with latest mainline kernel. Therefore, I added Tag "kernel-bug-exists-upstream" and changed status to "confirmed".

I know of another user with the same problem. He was also testing against latest mainline kernel with no success.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.