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

David Christensen dpchrist at holgerdanske.com
Tue Oct 20 03:36:24 UTC 2020


On 2020-10-19 08:14, Twingly Customer Support wrote:

> The following are the updates that was installed last Friday, which seems to have solved the problem:
> 
> New packages to be INSTALLED:
>      bash-completion: 2.11,2
>      glib: 2.66.0_1,1
>      postgresql12-client: 12.4
> 
> Installed packages to be UPGRADED:
>      bash: 5.0.17 -> 5.0.18_3
>      ca_root_nss: 3.56 -> 3.57
>      fio: 3.20 -> 3.23
<snip>

I'm glad the problem went away.  :-)


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.


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.


The length of your 'pkg upgrade' output suggests that you might want to 
upgrade more frequently.  This should give you a smaller haystack to 
search if and when an upgrade causes problems.


All of the above might be facilitated with virtualization and/or automation.


David


More information about the freebsd-questions mailing list