I finally hit a wall. I was merrily going along, things were looking great. Then, zsh killed restic.
dmesg | grep restic
[2730979.532676] restic invoked oom-killer: gfp_mask=0x1101cca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), order=0, oom_score_adj=0
[2730979.544459] CPU: 0 PID: 803868 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2730980.599237] [ 803650] 0 803650 7838154 7525188 60526592 0 0 restic
[2731072.248432] [ 803650] 0 803650 7838154 7525188 60526592 0 0 restic
[2731093.814805] [ 803650] 0 803650 7838154 7525188 60526592 0 0 restic
[2731112.187822] restic invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0
[2731112.196958] CPU: 0 PID: 803826 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2731113.321536] [ 803650] 0 803650 7838154 7525188 60526592 0 0 restic
[2731117.221546] restic invoked oom-killer: gfp_mask=0x1101cca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), order=0, oom_score_adj=0
[2731117.233264] CPU: 47 PID: 803856 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2731118.289811] [ 803650] 0 803650 7838154 7525188 60526592 0 0 restic
[2731158.531994] restic invoked oom-killer: gfp_mask=0x1101cca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), order=0, oom_score_adj=0
[2731158.543393] CPU: 31 PID: 803851 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2731159.595040] [ 803650] 0 803650 7838154 7525836 60530688 0 0 restic
[2731215.304523] restic invoked oom-killer: gfp_mask=0x1101cca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), order=0, oom_score_adj=0
[2731215.315961] CPU: 12 PID: 803876 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2731216.386553] [ 803650] 0 803650 7838154 7528973 60555264 0 0 restic
[2731220.116242] restic invoked oom-killer: gfp_mask=0x1101cca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE), order=0, oom_score_adj=0
[2731220.164900] CPU: 27 PID: 803858 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2731221.229296] [ 803650] 0 803650 7838154 7528973 60555264 0 0 restic
[2731221.311797] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-667.scope,task=restic,pid=803650,uid=0
[2731221.329443] Out of memory: Killed process 803650 (restic) total-vm:31352616kB, anon-rss:30115892kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:59136kB oom_score_adj:0
[2756882.714706] restic invoked oom-killer: gfp_mask=0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
[2756882.725948] CPU: 21 PID: 3718362 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2756884.016171] [3718049] 0 3718049 7854234 7519722 60469248 0 0 restic
[2756885.453923] [3718049] 0 3718049 7854234 7543461 60657664 0 0 restic
[2756887.205885] [3718049] 0 3718049 7854234 7549928 60706816 0 0 restic
[2756888.614266] [3718049] 0 3718049 7870895 7564575 60825600 0 0 restic
[2756890.089872] [3718049] 0 3718049 7887556 7577605 60932096 0 0 restic
[2756892.269927] [3718049] 0 3718049 7904217 7588256 61014016 0 0 restic
[2756894.272389] [3718049] 0 3718049 7920878 7600559 61116416 0 0 restic
[2756895.547734] [3718049] 0 3718049 7920878 7603749 61140992 0 0 restic
[2756896.912822] [3718049] 0 3718049 7920878 7611071 61198336 0 0 restic
[2756896.939794] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=k3s.service,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-667.scope,task=restic,pid=3718049,uid=0
[2756896.957583] Out of memory: Killed process 3718049 (restic) total-vm:31683512kB, anon-rss:30444284kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:59764kB oom_score_adj:0
[2757173.163504] [3749517] 0 3749517 7886260 7580297 60940288 0 0 restic
[2757174.862268] [3749517] 0 3749517 7902921 7592510 61038592 0 0 restic
[2757176.225137] [3749517] 0 3749517 7902921 7599796 61095936 0 0 restic
[2757176.338460] [3749517] 0 3749517 7902921 7601520 61108224 0 0 restic
[2757178.928114] [3749517] 0 3749517 7919582 7606817 61153280 0 0 restic
[2757180.345755] [3749517] 0 3749517 7919582 7608723 61165568 0 0 restic
[2757180.400107] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=system-getty.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-1028.scope,task=restic,pid=3749517,uid=0
[2757180.419027] Out of memory: Killed process 3749517 (restic) total-vm:31678328kB, anon-rss:30434892kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:59732kB oom_score_adj:0
[2757733.669394] restic invoked oom-killer: gfp_mask=0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
[2757733.680692] CPU: 11 PID: 3820057 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757734.967949] [3819781] 0 3819781 7789999 7481678 60186624 0 0 restic
[2757735.184484] restic invoked oom-killer: gfp_mask=0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
[2757735.196752] CPU: 16 PID: 3820048 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757736.437693] [3819781] 0 3819781 7856771 7528763 60588032 0 0 restic
[2757736.707249] restic invoked oom-killer: gfp_mask=0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
[2757736.719348] CPU: 34 PID: 3820056 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757737.820041] [3819781] 0 3819781 7856771 7531509 60608512 0 0 restic
[2757738.800012] restic invoked oom-killer: gfp_mask=0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
[2757738.902911] CPU: 26 PID: 3819792 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757738.904043] [3819781] 0 3819781 7856771 7545753 60715008 0 0 restic
[2757744.199128] [3819781] 0 3819781 7856771 7548498 60715008 0 0 restic
[2757746.613211] restic invoked oom-killer: gfp_mask=0x1100dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
[2757746.624658] CPU: 15 PID: 3820054 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757747.762992] [3819781] 0 3819781 7925031 7609508 61181952 0 0 restic
[2757749.083438] [3819781] 0 3819781 7925031 7612428 61206528 0 0 restic
[2757749.393704] restic invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[2757749.404863] CPU: 47 PID: 3820033 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757750.562008] [3819781] 0 3819781 7925031 7612546 61206528 0 0 restic
[2757750.588775] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-1028.scope,task=restic,pid=3819781,uid=0
[2757750.606519] Out of memory: Killed process 3819781 (restic) total-vm:31700124kB, anon-rss:30450184kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:59772kB oom_score_adj:0
[2757919.872139] restic invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[2757919.882430] CPU: 14 PID: 3857288 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757921.154758] [3856964] 0 3856964 7890781 7565766 60887040 0 0 restic
[2757921.459804] [3856964] 0 3856964 7890845 7567872 60903424 0 0 restic
[2757923.641906] [3856964] 0 3856964 7890845 7574413 60960768 0 0 restic
[2757923.760797] restic invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[2757924.253283] CPU: 3 PID: 3857290 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757925.483832] [3856964] 0 3856964 7890845 7582426 61009920 0 0 restic
[2757927.556632] [3856964] 0 3856964 7890845 7583551 61009920 0 0 restic
[2757928.304548] restic invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
[2757928.315114] CPU: 13 PID: 3857290 Comm: restic Tainted: P OE 5.15.131+truenas #1
[2757929.508293] [3856964] 0 3856964 7890845 7584233 61009920 0 0 restic
[2757931.127266] [3856964] 0 3856964 7890845 7584257 61009920 0 0 restic
[2757933.767222] [3856964] 0 3856964 7942028 7609158 61222912 0 0 restic
[2757935.030199] [3856964] 0 3856964 7942028 7612361 61247488 0 0 restic
[2757935.039206] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=k3s.service,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-1028.scope,task=restic,pid=3856964,uid=0
[2757935.057050] Out of memory: Killed process 3856964 (restic) total-vm:31768112kB, anon-rss:30449444kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:59812kB oom_score_adj:0
[2757937.375263] oom_reaper: reaped process 3856964 (restic), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
I’m now playing with “export GOGC=x” to see if it’ll help.
Time to order MORE RAM!