设备环境:fnOS 安装在 PVE 虚拟机 x86
BUG现象:
qbittorrent跑在arm系统,如果fnos的smb 开启了Opportunistic locks, qbittorrent会报错误(这个报错是每几秒报错一次),只要关闭Opportunistic locks就不会有这个问题,但是会出现另一个问题,event_logger随着时间推移变成超高CPU占用。
arm docker 容器 qbittorrentofficial/qbittorrent-nox - Docker Image
[85639.194945] qbittorrent-nox: page allocation failure: order:8, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=docker-addba57b169f77821496b7cb40718342000b5c3b3c68c6f068d09086d74e9049.scope,mems_allowed=0
[85639.194984] CPU: 2 PID: 355207 Comm: qbittorrent-nox Not tainted 6.1.115-vendor-rk35xx #1
[85639.194992] Hardware name: Orange Pi 5 Plus (DT)
[85639.194997] Call trace:
[85639.195002] dump_backtrace+0xf0/0x12c
[85639.195015] show_stack+0x20/0x30
[85639.195022] dump_stack_lvl+0x7c/0xa0
[85639.195031] dump_stack+0x18/0x34
[85639.195038] warn_alloc+0xe4/0x184
[85639.195046] __alloc_pages+0x520/0x854
[85639.195052] __kmalloc_large_node+0xbc/0x11c
[85639.195059] kmalloc_large+0x30/0x9c
[85639.195064] smb3_simple_falloc.isra.0+0x2a0/0x49c [cifs]
[85639.195125] smb3_fallocate+0x198/0x44c [cifs]
[85639.195166] cifs_fallocate+0x68/0x84 [cifs]
[85639.195205] vfs_fallocate+0x148/0x1e0
[85639.195214] ksys_fallocate+0x4c/0x80
[85639.195221] __arm64_sys_fallocate+0x24/0x34
[85639.195229] invoke_syscall+0x8c/0x12c
[85639.195236] el0_svc_common.constprop.0+0xd8/0x128
[85639.195243] do_el0_svc+0xa0/0xc8
[85639.195249] el0_svc+0x2c/0x54
[85639.195257] el0t_64_sync_handler+0xac/0x13c
[85639.195264] el0t_64_sync+0x19c/0x1a0
[85639.195271] Mem-Info:
[85639.195277] active_anon:654231 inactive_anon:1580635 isolated_anon:0
active_file:266637 inactive_file:826724 isolated_file:0
unevictable:199229 dirty:26063 writeback:99
slab_reclaimable:170727 slab_unreclaimable:47685
mapped:406907 shmem:443315 pagetables:20372
sec_pagetables:0 bounce:0
kernel_misc_reclaimable:0
free:154325 free_pcp:13 free_cma:1087
[85639.195293] Node 0 active_anon:2616924kB inactive_anon:6322540kB active_file:1066548kB inactive_file:3306896kB unevictable:796916kB isolated(anon):0kB isolated(file):0kB mapped:1627628kB dirty:104252kB writeback:396kB shmem:1773260kB writeback_tmp:0kB kernel_stack:35644kB pagetables:81488kB sec_pagetables:0kB all_unreclaimable? no
[85639.195308] DMA free:552504kB boost:0kB min:3756kB low:7548kB high:11340kB reserved_highatomic:0KB active_anon:104308kB inactive_anon:1375856kB active_file:122448kB inactive_file:596048kB unevictable:711332kB writepending:15540kB present:3930112kB managed:3824116kB mlocked:0kB bounce:0kB free_pcp:20kB local_pcp:0kB free_cma:4348kB
[85639.195322] lowmem_reserve[]: 0 0 12222 12222
[85639.195336] Normal free:64796kB boost:0kB min:12392kB low:24908kB high:37424kB reserved_highatomic:2048KB active_anon:2512616kB inactive_anon:4947224kB active_file:944628kB inactive_file:2711432kB unevictable:85584kB writepending:88972kB present:12838912kB managed:12516180kB mlocked:0kB bounce:0kB free_pcp:32kB local_pcp:0kB free_cma:0kB
[85639.195350] lowmem_reserve[]: 0 0 0 0
[85639.195364] DMA: 2095*4kB (UMEC) 1825*8kB (UMEC) 1661*16kB (UMEC) 3665*32kB (UME) 3517*64kB (UME) 1229*128kB (UME) 14*256kB (UM) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 552820kB
[85639.195416] Normal: 7954*4kB (UMEH) 2026*8kB (UMEH) 1025*16kB (UEH) 21*32kB (UEH) 1*64kB (H) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 65160kB
[85639.195464] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[85639.195470] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
[85639.195476] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[85639.195481] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
[85639.195486] 1535950 total pagecache pages
[85639.195490] 749 pages in swap cache
[85639.195494] Free swap = 7015584kB
[85639.195497] Total swap = 8170144kB
[85639.195501] 4192256 pages RAM
[85639.195504] 0 pages HighMem/MovableOnly
[85639.195507] 107182 pages reserved
[85639.195511] 65536 pages cma reserved
code