Date: Wed, 24 Feb 2021 09:04:03 -0800 From: Freddie Cash <fjwcash@gmail.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: The out-of-swap killer makes poor choices Message-ID: <CAOjFWZ70Rc44M=4abz5rX3wH1rG5S7s3yo62UfvOL_psOmpOWA@mail.gmail.com> In-Reply-To: <YDaGDHqufAqHo5Vd@graf.pompo.net> References: <CAOtMX2jYmrK7ftx62_NEfNCWS7O=giHKL1p9kXCqq1t5E1arxA@mail.gmail.com> <CAOtMX2i3Njo=KBP=99_G0%2BKuSa00CVgNvacmzhTaoZUYEhwPPA@mail.gmail.com> <YDYyQ1V/hEAGV%2ByJ@kib.kiev.ua> <1984125.0OzZcVfBr4@ravel> <YDZIuXCgcpbvm57d@graf.pompo.net> <500F4BE2-87C4-45F8-85A9-326498F47CC5@gid.co.uk> <YDaGDHqufAqHo5Vd@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 24, 2021 at 9:00 AM Thierry Thomas <thierry@freebsd.org> wrote: > Le mer. 24 f=C3=A9vr. 21 =C3=A0 15:26:20 +0100, Bob Bishop <rb@gid.co.uk> > =C3=A9crivait : > > > > For such cases, another solution exists on Linux to dynamically enlar= ge > > > 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/ --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ70Rc44M=4abz5rX3wH1rG5S7s3yo62UfvOL_psOmpOWA>