Re: "failed to reclaim memory" with much free physmem

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Fri, 12 Sep 2025 16:25:35 UTC
On Fri, Sep 12, 2025 at 8:58 AM Garrett Wollman <wollman@bimajority.org> wrote:
>
> <<On Fri, 12 Sep 2025 08:50:10 -0700, Rick Macklem <rick.macklem@gmail.com> said:
>
> > Ok, but don't we want something that prevents the arc from taking all
> > the memory? (It seems like 932Gbytes should be close to a hard
> > upper bound for a system with 1Tbyte of ram?)
>
> Presently it says:
>
> kstat.zfs.misc.arcstats.c_max: 1098065367040
>
> That's 1 TiB less 1379 MiB.  Which in all honesty *ought to be enough*
> for munin-node, nrpe, ntpd, sendmail, inetd, lldpd, nslcd, sshd, syslogd,
> mountd, and nfsuserd.
Maybe. A lot of things like he size of the buffer cache and buckets used
for malloc, etc. are tuned when the system boots,
based on how much ram the system has.
I have no idea what those numbers look like for a 1Tbyte system.

In other words, if the system booted thinking it has 2Gbytes of ram
I suspect you would be correct, but if the system boots thinking it
has 1Tbyte of ram, then???

rick

>
> -GAWollman
>