Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2023 11:27:49 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        freebsd-current@freebsd.org
Subject:   Re: how to set vfs.zfs.arc.max in 15-current ?
Message-ID:  <20231012182749.AA34F185@slippy.cwsent.com>
In-Reply-To: <ZSgtvuWSpRKxIE9N@int21h>
References:  <ZSgtvuWSpRKxIE9N@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <ZSgtvuWSpRKxIE9N@int21h>, void writes:
> Is there a new way to set arc.max in 15-current?
>
> It's no longer settable (except to "0") in main-n265801 (Oct 7th)
> while multiuser.
>
> # sysctl vfs.zfs.arc.max=8589934592
> vfs.zfs.arc.max: 0
> sysctl: vfs.zfs.arc.max=8589934592: Invalid argument

Try reducing your arc.max by an order of 10. This suggests that it's 
probably failing in param_set_arc_max() in the val >= arc_all_memory()
comparison..


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20231012182749.AA34F185>