Required Information
- DietPi version:
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=7
G_DIETPI_VERSION_RC=1
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='not applicable'
- Distro version:
bullseye 0
- Kernel version:
Linux Grimlock 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
- SBC model:
RPi 3 Model B+ (aarch64)
- Power supply used:
Official 5.1V 2.5A Raspberry Pi Micro USB Power Supply
- SD card used:
SanDisk ultra 32GB
Hello!
I’ve been having weird issues for the past month wherein my Pi locks up & freezes when put under high load. (Accessing Nextcloud files, or browsing my Photoprism gallery.)
It’s extremely frustrating, & no amount of waiting results in it coming back online, I just have to pull the power.
I highly doubt it’s the power supply, I do have a external 2.5" HDD connected (powered through the Pi), but I’m regularly running vcgencmd get_throttled
just waiting to catch some sort of error, but… nothing.
The SDcard is unlikely as well. It’s pretty new (~6ish months?), no problems as far as I can tell.
I’ve tried overclocking, underclocking, overvolting, etc. to no avail.
While I didn’t run extensive tests (not exactly needed at the Pi locks up imminently under load), a fresh install of dietpi doesn’t seem to run into this issue.
I could never find anything in journal
, syslog
afterwards, so I ran journalctl -xf
& then stressed the Pi.
I got the following:
Aug 16 09:51:33 Grimlock kernel: kworker/3:1H: page allocation failure: order:0, mode:0x800(GFP_NOWAIT), nodemask=(null),cpuset=/,mems_allowed=0
Aug 16 09:51:33 Grimlock kernel: CPU: 3 PID: 90 Comm: kworker/3:1H Tainted: G C 5.15.32-v8+ #1538
Aug 16 09:51:33 Grimlock kernel: Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT)
Aug 16 09:51:33 Grimlock kernel: Workqueue: kblockd blk_mq_run_work_fn
Aug 16 09:51:33 Grimlock kernel: Call trace:
Aug 16 09:51:33 Grimlock kernel: dump_backtrace+0x0/0x1b8
Aug 16 09:51:33 Grimlock kernel: show_stack+0x20/0x30
Aug 16 09:51:33 Grimlock kernel: dump_stack_lvl+0x8c/0xb8
Aug 16 09:51:33 Grimlock kernel: dump_stack+0x18/0x34
Aug 16 09:51:33 Grimlock kernel: warn_alloc+0x11c/0x1a0
Aug 16 09:51:33 Grimlock kernel: __alloc_pages_slowpath.constprop.150+0xb78/0xba0
Aug 16 09:51:33 Grimlock kernel: __alloc_pages+0x2b0/0x330
Aug 16 09:51:33 Grimlock kernel: new_slab+0x34c/0x358
Aug 16 09:51:34 Grimlock kernel: ___slab_alloc.part.102.constprop.112+0x434/0x7d8
Aug 16 09:51:34 Grimlock kernel: __slab_alloc.isra.103.constprop.111+0x58/0x90
Aug 16 09:51:34 Grimlock kernel: __kmalloc+0x508/0x510
Aug 16 09:51:34 Grimlock kernel: bcm2835_dma_create_cb_chain+0x78/0x380
Aug 16 09:51:34 Grimlock kernel: bcm2835_dma_prep_slave_sg+0x178/0x350
Aug 16 09:51:34 Grimlock kernel: bcm2835_sdhost_request+0x460/0x668
Aug 16 09:51:34 Grimlock kernel: __mmc_start_request+0x84/0x1d0
Aug 16 09:51:34 Grimlock kernel: mmc_start_request+0x8c/0xb8
Aug 16 09:51:34 Grimlock kernel: mmc_blk_mq_issue_rq+0x368/0x9b0
Aug 16 09:51:34 Grimlock kernel: mmc_mq_queue_rq+0x11c/0x2b8
Aug 16 09:51:34 Grimlock kernel: blk_mq_dispatch_rq_list+0x128/0x7e8
Aug 16 09:51:34 Grimlock kernel: __blk_mq_do_dispatch_sched+0x250/0x2d0
Aug 16 09:51:34 Grimlock kernel: __blk_mq_sched_dispatch_requests+0x160/0x1e8
Aug 16 09:51:34 Grimlock kernel: blk_mq_sched_dispatch_requests+0x44/0x80
Aug 16 09:51:34 Grimlock kernel: __blk_mq_run_hw_queue+0x6c/0xa8
Aug 16 09:51:34 Grimlock kernel: blk_mq_run_work_fn+0x28/0x38
Aug 16 09:51:35 Grimlock kernel: process_one_work+0x1f8/0x4a0
Aug 16 09:51:35 Grimlock kernel: worker_thread+0x50/0x480
Aug 16 09:51:35 Grimlock kernel: kthread+0x140/0x158
Aug 16 09:51:35 Grimlock kernel: ret_from_fork+0x10/0x20
Aug 16 09:51:35 Grimlock kernel: Mem-Info:
Aug 16 09:51:35 Grimlock kernel: active_anon:10151 inactive_anon:198111 isolated_anon:197
active_file:3504 inactive_file:3475 isolated_file:0
unevictable:2033 dirty:24 writeback:40
slab_reclaimable:6909 slab_unreclaimable:7387
mapped:16629 shmem:9959 pagetables:2709 bounce:0
kernel_misc_reclaimable:0
free:6189 free_pcp:32 free_cma:135
Aug 16 09:51:35 Grimlock kernel: Node 0 active_anon:40604kB inactive_anon:792444kB active_file:14016kB inactive_file:13900kB unevictable:8132kB isolated(anon):788kB isolated(file):0kB mapped:66516kB dirty:96kB writeback:160kB shmem:39836kB writeback_tmp:0kB kernel_stack:4928kB pagetables:10836kB all_unreclaimable? no
Aug 16 09:51:35 Grimlock kernel: DMA free:24756kB min:24576kB low:28672kB high:32768kB reserved_highatomic:0KB active_anon:40604kB inactive_anon:792444kB active_file:14016kB inactive_file:14100kB unevictable:8132kB writepending:256kB present:1021952kB managed:982688kB mlocked:8132kB bounce:0kB free_pcp:128kB local_pcp:56kB free_cma:540kB
Aug 16 09:51:35 Grimlock kernel: lowmem_reserve[]: 0 0 0 0
Aug 16 09:51:35 Grimlock kernel: DMA: 1087*4kB (UMEC) 510*8kB (UMEC) 231*16kB (UMEC) 138*32kB (UEC) 41*64kB (UME) 22*128kB (UME) 9*256kB (UME) 1*512kB (E) 0*1024kB 0*2048kB 0*4096kB = 24796kB
Aug 16 09:51:35 Grimlock kernel: 18164 total pagecache pages
Aug 16 09:51:35 Grimlock kernel: 475 pages in swap cache
Aug 16 09:51:35 Grimlock kernel: Swap cache stats: add 1765, delete 1286, find 0/0
Aug 16 09:51:35 Grimlock kernel: Free swap = 2089404kB
Aug 16 09:51:35 Grimlock kernel: Total swap = 2097148kB
Aug 16 09:51:35 Grimlock kernel: 255488 pages RAM
Aug 16 09:51:35 Grimlock kernel: 0 pages HighMem/MovableOnly
Aug 16 09:51:35 Grimlock kernel: 9816 pages reserved
Aug 16 09:51:35 Grimlock kernel: 16384 pages cma reserved
Aug 16 09:51:35 Grimlock kernel: SLUB: Unable to allocate memory on node -1, gfp=0x900(GFP_NOWAIT|__GFP_ZERO)
Aug 16 09:51:35 Grimlock kernel: cache: kmalloc-256, object size: 256, buffer size: 256, default order: 0, min order: 0
Aug 16 09:51:35 Grimlock kernel: node 0: slabs: 130, objs: 2080, free: 0
Aug 16 09:51:35 Grimlock kernel: SLUB: Unable to allocate memory on node -1, gfp=0x900(GFP_NOWAIT|__GFP_ZERO)
Aug 16 09:51:35 Grimlock kernel: cache: kmalloc-256, object size: 256, buffer size: 256, default order: 0, min order: 0
Aug 16 09:51:35 Grimlock kernel: node 0: slabs: 130, objs: 2080, free: 0
Aug 16 09:51:35 Grimlock kernel: SLUB: Unable to allocate memory on node -1, gfp=0x900(GFP_NOWAIT|__GFP_ZERO)
Aug 16 09:51:35 Grimlock kernel: cache: kmalloc-256, object size: 256, buffer size: 256, default order: 0, min order: 0
Aug 16 09:51:35 Grimlock kernel: node 0: slabs: 130, objs: 2080, free: 0
dmesg -wH
reports the same.
After rebooting, I cannot find them in the log files, so I guess they’re not saved to disk in time?
Any… idea what it means?
Help would be greatly appreciated