Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2021 13:38:17 +0100
From:      Thierry Thomas <thierry@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: The out-of-swap killer makes poor choices
Message-ID:  <YDZIuXCgcpbvm57d@graf.pompo.net>
In-Reply-To: <1984125.0OzZcVfBr4@ravel>
References:  <CAOtMX2jYmrK7ftx62_NEfNCWS7O=giHKL1p9kXCqq1t5E1arxA@mail.gmail.com> <CAOtMX2i3Njo=KBP=99_G0%2BKuSa00CVgNvacmzhTaoZUYEhwPPA@mail.gmail.com> <YDYyQ1V/hEAGV%2ByJ@kib.kiev.ua> <1984125.0OzZcVfBr4@ravel>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Le mer. 24 févr. 21 à 13:02:14 +0100, Olivier Certner <olivier.freebsd@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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJgNki5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG
MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdTs7MP/1iAVsZAtvst8Y+1x8XqYYbD
FwAbLh6xIvkRZYOfmnSARDR4/2ZN+F7ixoX30CnjtNSxaw/z1199HRlNpFlhDQDi
Fc1PZyF55Z3NmHPelhlNuUPRlIcGHxP0V4bu1/RLgqX7EkdUjGbPJnTPeH7Ws2jG
VAGdMBuaaL8ZehZlyTp5J7mGShWJQV3kH/7KvnNL4UZKSNUtpXe9sbeSwF78xu/r
twvgRKk//7731ZMi4jwaWqHgAneCoXA4d9DHLFMnwAC4Og9r+KCHlTuE0DpE9zCB
EHcXShTdcl+h3I7aALI2D4m3Xkd+t8q7nnNaCKPlE+KeFTOhstB31u+aWdDd1UBn
/XioAYx4prGMxoZTuFPlYhxPUO9r6n/AUhMgLouNlq3uS9krncz5E6w3aeuLvEG4
4ipYkGlu60iRKrX9x8ZMltBVEZ6sO74AdT2Tr5v/Y88TBhiWicymSlBvSDKBeQnb
DkuQSBInb6SOYkooIQbQfxyjopQQ37UvWg/UqM/FXwJgl/UtlbKzVaaDZWfIPfZB
QAJqKkcMKW02PCXauFgrcszrfkiGKARoB6SkCZjJW38ldCUTO9LbZOEPekRedAi8
r6tacc+66BodRcpwQPDNSNu48ZGfomEbeOyaD5CJeb2uzUOLapAXhTLLrhL9ymhe
H6jqFUWx2jt4qulg+Ezd
=3+8/
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YDZIuXCgcpbvm57d>