[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 03:08:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290207

--- Comment #12 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
In a modern enough FreeBSD:

# vmstat -o | head -1
  RES   ACT INACT LAUND WIRED REF SHD CM  TP PATH

Note the WIRED column. So, for example, the following
sort of thing can be done:

# vmstat -o | sort -nr -k5,5 -k1,1 -k10,10 -k9,9 | head
 5924     0     0     0  5924   1   0 WB  ph 
  766     0     0     0   766   3   0 WB  ph 
  509     0     0     0   509   1   0 WB  ph 
  352     0     0     0   352  16   8 WB  vn /lib/libc.so.7
  286     0     1     0   285   0   0 WB  vn 
   64     0     0     0    64   4   2 WB  vn /lib/libtinfow.so.9
   63     0     0     0    63   0   0 WB  vn /usr/bin/less
   54     0     0     0    54   4   2 WB  vn /lib/libedit.so.8
   51     0     0     0    51   3   0 WB  ph 
   48     0     0     0    48   0   0 WB  vn /usr/share/misc/termcap

This may be another way to get some clue what
sort of data is going into the wired usage.

Note that some of the reclassifications
are not done immediately. Thus some of the
ACT/INACT/LAUND can double count with
WIRED for a time.

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