The out-of-swap killer makes poor choices
Thierry Thomas
thierry at freebsd.org
Wed Feb 24 12:38:33 UTC 2021
Le mer. 24 févr. 21 à 13:02:14 +0100, Olivier Certner <olivier.freebsd at free.fr>
écrivait :
> Hi,
Hello,
> 2 to 3 years ago, I stumbled against production problems on servers doing
> heavy computations. Only a few processes (2 generally) were doing them, and
> most of the time consumed less than 1/4 of the available RAM (2 GiB). Apart
> from that, no other process was allocating any significant amount of memory.
> Only some base default daemons (syslogd, cron) and sshd were running.
> Occasionally, very big jobs would come, and one or more of these processes
> would start eating up all available memory, until FreeBSD decided that it was
> time to take action.
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?
--
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20210224/85884b8d/attachment.sig>
More information about the freebsd-hackers
mailing list