Re: swapfile query

From: tech-lists <tech-lists_at_zyxst.net>
Date: Sat, 19 Aug 2017 18:08:29 +0100
On 19/08/2017 17:54, Cy Schubert wrote:
> Then it doesn't matter if you use one or many swapfiles and deleting the 4 
> GB won't make a difference. Just add the desired swap as required.
> 
> With 128 GB RAM you shouldn't be swapping anyway. If your system is you 
> have more serious problems than the lack of swap.

The system is a bhyve host. There are 9 guests, two of them are
freebsd-11-stable, the rest are ubuntu-14.04-LTS. Restarting some (but
not all) of the guests has the effect of decreasing swap usage. The
system also runs ZFS. The guests live on the ZFS filesystem.

The OS & swap on the host are SSD and are not part of the ZFS system.

What I'm seeing is, the host system won't touch swap for days. I guess
when the guests get busier than an as yet unknown amount, the host
starts using swap. The issue I'm having isn't so much it using swap,
it's that the used swap seemingly is not liberated after it has been
used, and I don't know exactly how to narrow it down.

thanks,
-- 
J.
Received on Sat Aug 19 2017 - 15:08:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC