Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 11:35:42 -0700
From:      Michael Sierchio <>
To:        FreeBSD Questions <>
Subject:   Re: FreeBSD using swap even though there's a lot of free memory
Message-ID:  <>
In-Reply-To: <5f885b772d622_95aa2adab2b9c5b41576495c3@sirportly-app-02.mail>
References:  <5f885b772d622_95aa2adab2b9c5b41576495c3@sirportly-app-02.mail>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Oct 15, 2020 at 7:24 AM Twingly Customer Support <>

> Hi,
> We have a server running FreeBSD 12.1-RELEASE-p10. We currently have a
> problem where FreeBSD starting to swap when running ZFS scrub, even thoug=
> we have ~70G of free memory.

tl;dr =E2=80=93 this is normal, nothing to see, move along.

It's not "swapping" =E2=80=93 it's paging pre-emptively.  If you're used to=
you might think "swap bad"  ;-)   There is a lot of history to VM
management in BSD.  This might be an easy place to start:


"Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is =
wiser, but an intelligent person requires only two thousand five hundred."

- The Mah=C4=81bh=C4=81rata

Want to link to this message? Use this URL: <>