Hi! I am running HBT branch on my Omnia. For the last few months I observe the following behavior:
After about a week or 10 days of uptime, I start receiving OOM killer messages (usually killing my Home Assistant process). According to Top, the system has more enough free memory.
I do not know exactly when this problem has started, but I can tell that it was definitely fine in June.
Here is an example:
[309159.872650] cat invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[309159.882161] CPU: 1 PID: 18211 Comm: cat Tainted: G W 5.15.127 #0
[309159.889589] Hardware name: Marvell Armada 380/385 (Device Tree)
[309159.895620] [<c010eac8>] (unwind_backtrace) from [<c010a814>] (show_stack+0x10/0x14)
[309159.903486] [<c010a814>] (show_stack) from [<c05e722c>] (dump_stack_lvl+0x40/0x4c)
[309159.911172] [<c05e722c>] (dump_stack_lvl) from [<c023d0e8>] (dump_header+0x58/0x1bc)
[309159.919050] [<c023d0e8>] (dump_header) from [<c023daf8>] (oom_kill_process+0x19c/0x1a0)
[309159.927173] [<c023daf8>] (oom_kill_process) from [<c023e324>] (out_of_memory+0x2b0/0x388)
[309159.935472] [<c023e324>] (out_of_memory) from [<c02815c0>] (__alloc_pages+0xad4/0xfe0)
[309159.943508] [<c02815c0>] (__alloc_pages) from [<c026b5b0>] (handle_mm_fault+0x488/0xe94)
[309159.951721] [<c026b5b0>] (handle_mm_fault) from [<c0112c78>] (do_page_fault+0x118/0x2bc)
[309159.959943] [<c0112c78>] (do_page_fault) from [<c0112f88>] (do_DataAbort+0x3c/0xbc)
[309159.967718] [<c0112f88>] (do_DataAbort) from [<c0100ae8>] (__dabt_svc+0x48/0x80)
[309159.975222] Exception stack(0xd536de38 to 0xd536de80)
[309159.980379] de20: 0056e021 00000fdf
[309159.988677] de40: 00000000 00000055 00000051 c0d96500 004e0000 0056e021 0008e81c 0008e021
[309159.996967] de60: d868e480 c0e04f08 00000001 d536de88 c0304fb8 c05e3530 80000013 ffffffff
[309160.005257] [<c0100ae8>] (__dabt_svc) from [<c05e3530>] (__clear_user_std+0x1c/0x68)
[309160.013139] [<c05e3530>] (__clear_user_std) from [<c0304fb8>] (padzero+0x58/0x78)
[309160.020751] [<c0304fb8>] (padzero) from [<c0305898>] (load_elf_binary+0x8c0/0x148c)
[309160.028533] [<c0305898>] (load_elf_binary) from [<c02acffc>] (bprm_execve+0x2d4/0x594)
[309160.036583] [<c02acffc>] (bprm_execve) from [<c02ad4a0>] (do_execveat_common+0x1e4/0x204)
[309160.044884] [<c02ad4a0>] (do_execveat_common) from [<c02ae254>] (sys_execve+0x30/0x38)
[309160.052925] [<c02ae254>] (sys_execve) from [<c0100060>] (ret_fast_syscall+0x0/0x48)
[309160.060703] Exception stack(0xd536dfa8 to 0xd536dff0)
[309160.065864] dfa0: 01239a3c 01239a10 01239a3c 01239a10 01239a1c 004eeb50
[309160.074158] dfc0: 01239a3c 01239a10 004cecc6 0000000b 004ee5dc 004ee708 004ee5d0 004ee5dc
[309160.082452] dfe0: 004edad0 befa93b4 004a1920 b6f37d88
[309160.087741] Mem-Info:
[309160.090118] active_anon:248767 inactive_anon:208683 isolated_anon:0
[309160.090118] active_file:814 inactive_file:2897 isolated_file:260
[309160.090118] unevictable:0 dirty:0 writeback:0
[309160.090118] slab_reclaimable:6124 slab_unreclaimable:10064
[309160.090118] mapped:7989 shmem:260204 pagetables:1540 bounce:0
[309160.090118] kernel_misc_reclaimable:0
[309160.090118] free:22198 free_pcp:477 free_cma:0
[309160.127255] Node 0 active_anon:995068kB inactive_anon:834732kB active_file:3340kB inactive_file:15704kB unevictable:0kB isolated(anon):0kB isolated(file):1040kB mapped:32460kB dirty:0kB writeback:0kB shmem:1040816kB writeback_tmp:0kB kernel_stack:3232kB pagetables:6160kB all_unreclaimable? no
[309160.153345] Normal free:84112kB min:53248kB low:57344kB high:61440kB reserved_highatomic:4096KB active_anon:311472kB inactive_anon:231060kB active_file:3180kB inactive_file:9572kB unevictable:0kB writepending:0kB present:786432kB managed:753796kB mlocked:0kB bounce:0kB free_pcp:1236kB local_pcp:696kB free_cma:0kB
[309160.181261] lowmem_reserve[]: 0 10240 10240
[309160.185553] HighMem free:916kB min:22640kB low:29760kB high:36880kB reserved_highatomic:0KB active_anon:683596kB inactive_anon:603080kB active_file:552kB inactive_file:5372kB unevictable:0kB writepending:0kB present:1310720kB managed:1310720kB mlocked:0kB bounce:0kB free_pcp:740kB local_pcp:76kB free_cma:0kB
[309160.213013] lowmem_reserve[]: 0 0 0
[309160.216619] Normal: 4996*4kB (UMEH) 2734*8kB (UMEH) 1476*16kB (UMEH) 359*32kB (UMEH) 143*64kB (UEH) 1*128kB (H) 1*256kB (H) 1*512kB (H) 1*1024kB (H) 1*2048kB (H) 0*4096kB = 90080kB
[309160.232881] HighMem: 166*4kB (UM) 14*8kB (UM) 21*16kB (UM) 1*32kB (M) 3*64kB (UM) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1336kB
[309160.245750] 263006 total pagecache pages
[309160.249780] 0 pages in swap cache
[309160.253190] Swap cache stats: add 0, delete 0, find 0/0
[309160.258529] Free swap = 0kB
[309160.261510] Total swap = 0kB
[309160.264490] 524288 pages RAM
[309160.267478] 327680 pages HighMem/MovableOnly
[309160.271850] 8159 pages reserved
[309160.275086] Tasks state (memory values in pages):
[309160.279903] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[309160.288656] [ 1034] 81 1034 272 26 10240 0 0 ubusd
[309160.296965] [ 1039] 0 1039 183 6 8192 0 0 askfirst
[309160.305522] [ 1099] 0 1099 409 160 8192 0 0 haveged
[309160.314005] [ 1975] 0 1975 308 10 6144 0 0 watchdog
[309160.322579] [ 2004] 0 2004 1538 137 16384 0 0 rpcd
[309160.330799] [ 2501] 0 2501 1356 151 12288 0 0 hostapd
[309160.339284] [ 2502] 0 2502 1331 50 14336 0 0 wpa_supplicant
[309160.348372] [ 2562] 0 2562 431 55 10240 0 0 netifd
[309160.356760] [ 2621] 0 2621 5366 2141 32768 0 0 python3
[309160.365228] [ 2702] 0 2702 330 35 8192 0 0 odhcpd
[309160.373620] [ 3845] 0 3845 308 10 6144 0 0 udhcpc
[309160.382014] [ 3866] 0 3866 219 14 8192 0 0 odhcp6c
[309160.390496] [ 4075] 453 4075 669 37 12288 0 0 dnsmasq
[309160.398979] [ 4079] 0 4079 662 30 10240 0 0 dnsmasq
[309160.407465] [ 21254] 0 21254 387 25 8192 0 0 miniupnpd
[309160.416111] [ 21320] 0 21320 381 82 10240 0 0 sh
[309160.424157] [ 22225] 0 22225 380 85 8192 0 0 sh
[309160.432205] [ 23053] 0 23053 204 11 6144 0 0 atd
[309160.440341] [ 23102] 0 23102 322 26 8192 0 0 sh
[309160.448387] [ 23160] 0 23160 192 11 6144 0 0 hostapd_cli
[309160.457218] [ 23167] 0 23167 192 11 8192 0 0 hostapd_cli
[309160.466038] [ 23273] 0 23273 298 10 10240 0 0 ubus
[309160.474256] [ 23390] 0 23390 1866 571 16384 0 0 lighttpd
[309160.482824] [ 23431] 0 23431 74639 800 38912 0 0 php8-fpm
[309160.491384] [ 23432] 65534 23432 75790 7314 65536 0 0 php8-fpm
[309160.499942] [ 23433] 65534 23433 75789 7295 65536 0 0 php8-fpm
[309160.508505] [ 23503] 0 23503 949 76 12288 0 -1000 sshd
[309160.516718] [ 23612] 52 23612 9017 7113 40960 0 0 tor
[309160.524836] [ 23647] 0 23647 349 19 8192 0 0 dbus-daemon
[309160.533659] [ 23862] 0 23862 1017 11 10240 0 0 bluetoothd
[309160.542391] [ 23938] 200 23938 1114 172 12288 0 0 mosquitto
[309160.551036] [ 23991] 0 23991 4759 2320 28672 0 0 foris-ws
[309160.559597] [ 24064] 0 24064 8927 5794 45056 0 0 foris-controlle
[309160.568768] [ 24169] 0 24169 1433 64 16384 0 0 master
[309160.577154] [ 24172] 25 24172 1466 67 14336 0 0 qmgr
[309160.585365] [ 24199] 0 24199 867 48 12288 0 0 dovecot
[309160.593832] [ 24229] 59 24229 809 26 12288 0 0 anvil
[309160.602122] [ 24231] 0 24231 841 59 10240 0 0 log
[309160.610244] [ 24233] 0 24233 1059 243 10240 0 0 config
[309160.618632] [ 24569] 0 24569 346 37 8192 0 0 umdns
[309160.626932] [ 24663] 0 24663 418 81 8192 0 0 crond
[309160.635223] [ 24753] 0 24753 5878 3116 32768 0 0 foris-controlle
[309160.644393] [ 24818] 0 24818 6171 3338 32768 0 0 foris-controlle
[309160.653563] [ 25696] 0 25696 8512 5473 43008 0 0 foris-controlle
[309160.662727] [ 25834] 0 25834 3758 2214 22528 0 0 python3
[309160.671193] [ 25878] 0 25878 2806 1554 22528 0 0 python3
[309160.679671] [ 26105] 376 26105 98108 25327 182272 0 0 mysqld
[309160.688065] [ 26220] 0 26220 19868 13995 88064 0 0 Suricata-Main
[309160.697071] [ 26338] 0 26338 1963 144 18432 0 0 sentinel-fwlogs
[309160.706246] [ 26399] 0 26399 1964 121 16384 0 0 minipot [Master
[309160.715414] [ 26409] 65534 26409 1934 101 14336 0 0 minipot [FTP]
[309160.724424] [ 26410] 65534 26410 1984 128 14336 0 0 minipot [HTTP]
[309160.733518] [ 26411] 65534 26411 1921 89 14336 0 0 minipot [Telnet
[309160.742701] [ 26453] 0 26453 319 22 8192 0 0 sh
[309160.750751] [ 26571] 0 26571 309 11 6144 0 0 ntpd
[309160.758971] [ 26611] 0 26611 1187 78 12288 0 0 lxc-start
[309160.767626] [ 26621] 0 26621 447 8 10240 0 0 init
[309160.775832] [ 26677] 0 26677 1187 77 12288 0 0 lxc-start
[309160.784488] [ 26682] 0 26682 439 8 10240 0 0 init
[309160.792706] [ 27283] 0 27283 451 13 8192 0 0 syslogd
[309160.801195] [ 27338] 0 27338 447 9 10240 0 0 crond
[309160.809505] [ 27379] 0 27379 443 13 10240 0 0 syslogd
[309160.817982] [ 27470] 0 27470 440 9 10240 0 0 crond
[309160.826283] [ 28247] 0 28247 447 8 8192 0 0 udhcpc
[309160.834661] [ 28265] 0 28265 439 8 8192 0 0 udhcpc
[309160.843062] [ 28335] 6449 28335 450 11 10240 0 0 hass_supervisor
[309160.852243] [ 28337] 6449 28337 447 9 10240 0 0 logger
[309160.860632] [ 28338] 6449 28338 450 1 8192 0 0 sh
[309160.868675] [ 28339] 6449 28339 70622 38798 284672 0 0 hass
[309160.876896] [ 28342] 6449 28342 448 10 8192 0 0 sed
[309160.885019] [ 28343] 6449 28343 447 9 10240 0 0 logger
[309160.893417] [ 28359] 0 28359 447 9 10240 0 0 getty
[309160.901725] [ 28360] 6447 28360 443 9 8192 0 0 propagation.sh
[309160.910819] [ 28361] 0 28361 447 9 10240 0 0 getty
[309160.919128] [ 28362] 0 28362 447 9 10240 0 0 getty
[309160.927436] [ 28365] 0 28365 447 9 10240 0 0 getty
[309160.935734] [ 28367] 0 28367 447 9 8192 0 0 getty
[309160.944044] [ 28450] 6447 28450 252 19 10240 0 0 inotifywait
[309160.952874] [ 28451] 6447 28451 445 14 8192 0 0 propagation.sh
[309160.961971] [ 28579] 6447 28579 442 1 8192 0 0 hass_supervisor
[309160.971152] [ 28580] 6447 28580 439 9 10240 0 0 logger
[309160.979549] [ 28581] 6447 28581 442 1 10240 0 0 sh
[309160.987596] [ 28582] 6447 28582 442 12 8192 0 0 sed
[309160.995719] [ 28583] 6447 28583 439 9 10240 0 0 logger
[309161.004114] [ 28584] 6447 28584 97003 55880 380928 0 0 hass
[309161.012339] [ 28595] 0 28595 439 9 8192 0 0 getty
[309161.020654] [ 28596] 0 28596 439 9 10240 0 0 getty
[309161.028972] [ 28597] 0 28597 439 9 8192 0 0 getty
[309161.037283] [ 28598] 0 28598 439 9 8192 0 0 getty
[309161.045584] [ 28601] 0 28601 439 9 10240 0 0 getty
[309161.053897] [ 28635] 25 28635 1456 67 14336 0 0 tlsmgr
[309161.062295] [ 29884] 59 29884 1618 141 14336 0 0 imap-login
[309161.071041] [ 29886] 59 29886 1517 76 14336 0 0 stats
[309161.079341] [ 30018] 6447 30018 1335 199 16384 0 0 imap
[309161.087556] [ 31396] 0 31396 2921 424 22528 0 0 sentinel-proxy
[309161.096648] [ 26205] 65534 26205 75790 7260 65536 0 0 php8-fpm
[309161.105219] [ 18459] 0 18459 3475 615 20480 0 0 syslog-ng
[309161.113876] [ 863] 0 863 1826 206 14336 0 0 openconnect
[309161.122703] [ 28263] 0 28263 1114 170 14336 0 0 openvpn
[309161.131181] [ 24939] 3536 24939 11322 4720 40960 0 0 kresd
[309161.139490] [ 12656] 25 12656 1450 63 14336 0 0 pickup
[309161.147895] [ 9232] 0 9232 2971 1471 20480 0 0 updater-supervi
[309161.157076] [ 14927] 0 14927 195 9 6144 0 0 sleep
[309161.165374] [ 16890] 0 16890 1275 224 12288 0 0 wget
[309161.173597] [ 17191] 25 17191 1580 94 14336 0 0 smtpd
[309161.181902] [ 17194] 25 17194 1446 64 12288 0 0 proxymap
[309161.190467] [ 17195] 25 17195 1449 60 14336 0 0 anvil
[309161.198770] [ 18036] 0 18036 319 6 10240 0 0 sh
[309161.206813] [ 18038] 0 18038 1949 1220 16384 0 0 python3
[309161.215286] [ 18046] 0 18046 319 6 10240 0 0 sh
[309161.223332] [ 18048] 0 18048 1949 1187 14336 0 0 python3
[309161.231802] [ 18050] 0 18050 319 6 10240 0 0 sh
[309161.239845] [ 18052] 0 18052 319 6 10240 0 0 sh
[309161.247894] [ 18054] 0 18054 319 6 8192 0 0 sh
[309161.255930] [ 18056] 0 18056 1795 877 14336 0 0 python3
[309161.264416] [ 18057] 0 18057 1949 1165 18432 0 0 python3
[309161.272899] [ 18058] 0 18058 1796 1211 18432 0 0 python3
[309161.281381] [ 18059] 0 18059 319 6 10240 0 0 sh
[309161.289428] [ 18061] 0 18061 319 6 10240 0 0 sh
[309161.297473] [ 18063] 0 18063 1815 842 16384 0 0 python3
[309161.305943] [ 18064] 0 18064 1695 1138 16384 0 0 python3
[309161.314424] [ 18065] 0 18065 319 6 10240 0 0 sh
[309161.322469] [ 18067] 0 18067 1692 1309 16384 0 0 python3
[309161.330948] [ 18070] 0 18070 319 6 10240 0 0 sh
[309161.338992] [ 18073] 0 18073 1692 1216 16384 0 0 python3
[309161.347471] [ 18074] 0 18074 319 6 10240 0 0 sh
[309161.355507] [ 18078] 0 18078 1695 1071 12288 0 0 python3
[309161.363992] [ 18083] 0 18083 319 6 10240 0 0 sh
[309161.372045] [ 18087] 0 18087 1695 1106 18432 0 0 python3
[309161.380528] [ 18091] 0 18091 319 6 8192 0 0 sh
[309161.388574] [ 18093] 0 18093 1695 1072 16384 0 0 python3
[309161.397056] [ 18096] 0 18096 319 6 10240 0 0 sh
[309161.405092] [ 18098] 0 18098 1544 970 16384 0 0 python3
[309161.413578] [ 18102] 0 18102 319 6 8192 0 0 sh
[309161.421624] [ 18105] 0 18105 1544 938 14336 0 0 python3
[309161.430110] [ 18108] 0 18108 319 6 8192 0 0 sh
[309161.438161] [ 18110] 0 18110 1606 809 14336 0 0 python3
[309161.446641] [ 18113] 0 18113 319 6 8192 0 0 sh
[309161.454677] [ 18114] 0 18114 1549 718 14336 0 0 python3
[309161.463163] [ 18124] 0 18124 319 6 8192 0 0 sh
[309161.471200] [ 18129] 0 18129 1454 627 14336 0 0 python3
[309161.479673] [ 18131] 0 18131 319 6 10240 0 0 sh
[309161.487721] [ 18133] 0 18133 1444 863 12288 0 0 python3
[309161.496195] [ 18138] 0 18138 319 6 10240 0 0 sh
[309161.504227] [ 18140] 0 18140 1444 791 18432 0 0 python3
[309161.512701] [ 18146] 0 18146 319 6 10240 0 0 sh
[309161.520741] [ 18150] 0 18150 1444 718 14336 0 0 python3
[309161.529215] [ 18154] 0 18154 319 6 8192 0 0 sh
[309161.537254] [ 18157] 0 18157 1312 558 14336 0 0 python3
[309161.545721] [ 18166] 0 18166 319 6 10240 0 0 sh
[309161.553759] [ 18169] 0 18169 1223 445 12288 0 0 python3
[309161.562228] [ 18176] 0 18176 319 6 10240 0 0 sh
[309161.570257] [ 18179] 0 18179 1175 354 12288 0 0 python3
[309161.578720] [ 18185] 0 18185 319 19 8192 0 0 sh
[309161.586749] [ 18189] 0 18189 1103 264 10240 0 0 python3
[309161.595209] [ 18196] 0 18196 319 6 10240 0 0 sh
[309161.603236] [ 18198] 0 18198 1109 298 14336 0 0 python3
[309161.611708] [ 18204] 0 18204 523 11 6144 0 0 ip
[309161.619743] [ 18205] 0 18205 312 15 10240 0 0 sh
[309161.627774] [ 18207] 0 18207 319 19 8192 0 0 sh
[309161.635799] [ 18210] 0 18210 319 22 8192 0 0 sh
[309161.643834] [ 18211] 0 18211 161 1 2048 0 0 cat
[309161.651962] [ 18212] 0 18212 180 14 6144 0 0 ubus
[309161.660177] [ 18213] 0 18213 823 7 6144 0 0 python3
[309161.668654] [ 18214] 0 18214 1949 896 16384 0 0 python3
[309161.677127] [ 18215] 0 18215 1949 896 16384 0 0 python3
[309161.685591] [ 18216] 0 18216 1949 896 14336 0 0 python3
[309161.694059] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=hass,pid=28584,uid=6447
[309161.706864] Out of memory: Killed process 28584 (hass) total-vm:388012kB, anon-rss:223520kB, file-rss:0kB, shmem-rss:0kB, UID:6447 pgtables:372kB oom_score_adj:0
(hass
is not to be confused with haas
)