lightly loaded system eats swap space

tech-lists tech-lists at
Mon Jun 18 12:15:21 UTC 2018

On 18/06/2018 07:14, Shane Ambler wrote:
> There is `sysctl vm.max_wired` which limits the kernel wired memory, the
> arc is then also wired but added on top of that setting, if your guests
> are then wiring more ram, you can get too much wired.
> There is a patch in review that attempts to improve arc releasing when
> free ram is low. See if this helps -
> Other than that check that your guest ram + max_wired + arc_max adds up
> to less than your physical ram minus some host system ram. Note that
> wax_wired is a page count so multiply it by hw.pagesize

Thanks for this. I can't apply the diff just yet due to the machine 
being in service but will let you know how I get on when I can.


More information about the freebsd-questions mailing list