The out-of-swap killer makes poor choices
Freddie Cash
fjwcash at gmail.com
Wed Feb 24 17:04:16 UTC 2021
On Wed, Feb 24, 2021 at 9:00 AM Thierry Thomas <thierry at freebsd.org> wrote:
> Le mer. 24 févr. 21 à 15:26:20 +0100, Bob Bishop <rb at gid.co.uk>
> écrivait :
>
> > > For such cases, another solution exists on Linux to dynamically enlarge
> > > the swap partition (something like dphys-swapfile or SwapSpace - see
> > > <https://github.com/Tookmund/Swapspace> ), but I do not know if such a
> > > tool exists on FreeBSD?
> >
> > You can of course add swap to a running system using swapon(8), but I
> > have no idea whether this will improve behaviour if the system is
> > already low on resources.
>
> But swapon requires a manual action, this is not dynamically adjusted.
>
Isn't that what the sysutils/swapexd port does?
https://www.freshports.org/sysutils/swapexd/
--
Freddie Cash
fjwcash at gmail.com
More information about the freebsd-hackers
mailing list