[Bug 290207] [ZFS] lowering "vfs.zfs.arc.max" to a low value causes kernel threads of "arc_evict" to use 91% CPU and disks to wait. System gets unresponsive...

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 Oct 2025 13:41:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290207

--- Comment #17 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #15)

First showing a pattern that works:

# vmstat -o | sort -nr -k5,5 -k1,1 -k10,10 -k9,9 | grep -Ev '[0-9]+ +[0-9]+
+[0-9]+ +[0-9]+     0 ' | head
66662     0 42481     0 24181   0   0 WB  vn 
 5952     0     0     0  5952   1   0 WB  ph 
 2968     0     8     0  2960   0   0 WB  vn /var/db/freebsd-update/files
  766     0     0     0   766   3   0 WB  ph 
  509     0     0     0   509   1   0 WB  ph 
  360     0     8     0   352  20  10 WB  vn /lib/libc.so.7
  176     0     8     0   168   0   0 WB  vn
/usr/local/share/doc/rust/html/core/arch/x86_64
  176     0     8     0   168   0   0 WB  vn
/usr/local/share/doc/rust/html/core/arch/x86
  136     0     8     0   128   0   0 WB  vn /usr/share/openssl/man/man3
   92     0     0     0    92   0   0 WB  vn
/usr/local/share/doc/rust/html/core/arch/aarch64

# vmstat -o | sort -nr -k5,5 -k1,1 -k10,10 -k9,9 | grep -Ev '[0-9]+ +[0-9]+
+[0-9]+ +[0-9]+     0 ' | tail
    1     0     0     0     1   0   0 WB  vn /root/.shrc
    1     0     0     0     1   0   0 WB  vn /root/.lesshst
    1     0     0     0     1   0   0 WB  vn /root
    1     0     0     0     1   0   0 WB  vn /etc/ssl/certs
    1     0     0     0     1   0   0 WB  vn /etc/localtime
    1     0     0     0     1   0   0 WB  vn /etc/libmap.conf
    1     0     0     0     1   0   0 WB  vn /etc
    1     0     0     0     1   0   0 WB  vn /bin
    1     0     0     0     1   0   0 WB  vn /
  RES   ACT INACT LAUND WIRED REF SHD CM  TP PATH

Then the amount of output (line count) in my
context:

# vmstat -o | sort -nr -k5,5 -k1,1 -k10,10 -k9,9 | grep -Ev '[0-9]+ +[0-9]+
+[0-9]+ +[0-9]+     0 ' | wc -l
   49209

-- 
You are receiving this mail because:
You are the assignee for the bug.