[Bug 262698] Weirdly high memory usage without anything running in the system

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Mar 2022 10:58:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262698

            Bug ID: 262698
           Summary: Weirdly high memory usage without anything running in
                    the system
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dmilith@me.com

So here's my dump from the top utility:

```
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 737M Active, 758M Inact, 16K Laundry, 761M Wired, 384M Buf, 1590M Free
Swap: 8192M Total, 3708K Used, 8188M Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
29911 root          1  20    0    20M  6912K select   5   0:00   0.00% sshd:
root@pts/0 (sshd)
29913 root          1  23    0    15M  5688K pause    0   0:01   0.00% -zsh
(zsh-5.8.1)
29968 root          1  20    0    14M  3396K CPU3     3   0:00   0.07% top -ao
res
29910 root          1  21    0    12M  1404K ttyin    4   0:00   0.00%
/usr/libexec/getty 3wire ttyu1
 1064 ntpd          1  20    0    21M   652K select   3   0:25   0.00%
/usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf -f
/var/db/ntp/ntpd.drift
 1106 root          1  20    0    20M   600K select   4   0:06   0.00%
/usr/sbin/sshd
 1001 root          1  20    0    12M   424K select   5   0:03   0.00%
/usr/sbin/syslogd -s
 1114 root          1  30    0    12M   312K nanslp   0   0:01   0.00%
/usr/sbin/cron -m -s
```

There's almost nothing running there, but the host has almost 800MiBs of wired
memory. This system (arm64) doesn't run ZFS, but I noticed a similar thing on
ZFS-on-root FreeBSD 13.0, but I thought it was because of ZFS.

Is there a way to release that wired memory somehow?

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