FreeBSD using swap even though there's a lot of free memory

Polytropon freebsd at
Wed Oct 21 06:53:18 UTC 2020

On Mon, 19 Oct 2020 20:36:10 -0700, David Christensen wrote:
> Updates and upgrades have broken my systems more times than I care to 
> remember.  Now, I take an image of the system drive before upgrading a 
> machine.  If an upgrade misbehaves, hopefully I will catch it quickly 
> and can simply go back to the previous image.  Otherwise, I need to 
> include backup/ restore of system configuration files and/or data when 
> re-imaging.

This is a great opportunity to integrate ZFS-based BEs (boot
environments) into the workflow. They allow you to easily
revert back changes caused by updates if required.

> Perhaps you should consider setting up a staging/ testing environment, 
> update/ upgrade that, and run tests.  If everything looks good, then 
> upgrade the production environment.

This is also possible, and often a good suggestion, if you
can actually create such a "secondary environment"; if you
have to do everything in "live mode", BEs are probably the
best solution.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list