#How to use swap file in panel

12 messages · Page 1 of 1 (latest)

cloud needle
proper dragon
#

I saw this guide, followed the instructions, but nothing helps

cloud needle
#

yeah thats not a valid grub configuration

proper dragon
acoustic oar
#

AFAIK it uses SWAP when it’s outs of memory

#

It will never use it first

#

Unless you configure it to do so

#

Which is a very bad idea

proper dragon
#

Why? My hosting just goes down when a certain memory limit is reached, so I need to somehow prevent this, as I understand it, limiting the memory of servers is a bad idea, so swap is of interest to me to solve my problem

zealous plover
#

SWAP is a valid tool. Be aware, though, that SWAP may slow everything down enough that your services crash anyways. If you're running out of memory you may be overallocating resources.

proper dragon
#

I finally figured out what the problem is, it turns out that the swap file activation setting doesn't work for me, so it activates when the memory is 98% full, thank you very much for your help and explanation.