Reco:
> On Thu, Aug 22, 2019 at 03:53:55PM +0300, Andrei POPESCU wrote:
>> On Jo, 22 aug 19, 09:21:31, Gustavo - Emar wrote:
>>>
>>> After upgrading from Debian Stretch to Buster (10), we realize that it is
>>> not managing memory as before.
>>> First, even with Swappiness = 0 and having 32 Ram, (16 Gb using) it starts
>>> using Swap
>> 
>> <joke>
>> If you don't want it using swap you should just disable it.
>> </joke>
> 
> A bad joke, if we're talking a server here ;)

I am not so sure. You could also argue that a system that is actually
using swap is so slow that it might just as well fire the OOM handler
and let it kill random processes. Monitoring will trigger an appropriate
response.

In any case, no system becomes slow or crashes just because it is using
"some" swap. Linux is swapping preemptively. Just because a little swap
space is occupied, that does not mean that the memory content is not
also in RAM. So your system does not necessarily become slower just
because of swap usage.

If a system is actually using swap heavily, with or without swappinness
set to zero, there are most probably runaway processes (or the kernel)
that actually request this much memory. It is possible that different
Linux versions behave differently in such a situations, but in order to
solve this issue I would look for the root cause first.

J.
-- 
If I could have anything in the world it would have to be more money.
[Agree]   [Disagree]
                 <http://archive.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: PGP signature

Reply via email to