Re: pkg upgrade, vfs.zfs.arc.free_target, vfs.zfs.arc.sys_free, vm.pageout_oom_seq

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Sun, 31 Aug 2025 18:42:51 UTC
On 31/08/2025 09:38, Mark Millard wrote:

> …
>
> It would appear that RAM==4GiBytes without SWAP would not be
> generally supported by pkg as stands. Testing hw.physmem="4G"
> without SWAP . . .
>
> OOM KILLS result:
>
> # pkg upgrade -rFreeBSD-ports -fUy
> Checking for upgrades (1485 candidates): 100%
> Processing candidates (1485 candidates): 100%
> Checking integrity...Child process pid=2219 terminated abnormally: Killed
>
> …


Retry three or more times. The integrity check might succeed.

(I ran tests, albeit not the same set of FreeBSD-ports packages, with 1 
GB memory given to a VirtualBox guest on fast physical storage. Booted 
from FreeBSD-14.3-RELEASE-amd64-dvd1.iso, installed all components then 
converted to pkgbase before first boot of the installed system. No swap 
in that environment.)