1b.app
Link copied -

After restarting the server, SWAP starts to grow slowly, why

Here https://baza.cn.ua/admin/shop/statistic/
There is such a picture https://prnt.sc/uzmoes
That is, during the day after the reboot, SWAP goes from 0 to 40-50%
Why is there a slow growth, it would seem that if SWAP is required, then the system should immediately take it as much as necessary, but here there is some kind of bad dynamics
Original question is available on version: ru

Answers:


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
Why is there a slow growth, it would seem that if SWAP is required, then the system should immediately take it as much as necessary, but here there is some kind of bad dynamics

Good afternoon.
The issues of SWAP technology operation and its use by Linux OS are in no way related to the product of our company.
Your assumptions about how this technology should work are fundamentally wrong.
In order to make assumptions, you need to at least understand the principles of organizing memory management in Linux.
Here are a couple of links on this topic,
https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D0%B4%D0%BA%D0%B0%D1%87%D0%BA%D0%B0_%... %82%D1%80%D0%B0%D0%BD%D0%B8%D1%86
https://habr.com/ru/company/flant/blog/348324/
The articles describe in sufficient detail what is needed and how it works.
15.10.2020, 10:24
Original comment available on version: ru


02.12.2020, 21:55
Как со мной связаться - никак :)
Задавайте вопросы на форуме публично - и я отвечу.
Подробнее - https://1b.app/ru/user/11/
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment