I am not seeing any performance issues or anything, but I am curious why I see 0/0MB of swap in htop, and see 0k total in top. Was it something that was just not necessary when creating the default images? Would adding a swap partition be beneficial?
Thanks
How does swap work on NFO VDS?
- soja
- This is my homepage
- Posts: 2389
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri May 18, 2012 3:20 pm
How does swap work on NFO VDS?
Not a NFO employee
Re: How does swap work on NFO VDS?
We don't enable it by default because when customers hit swap that is very bad for the performance of other customers on the same machine, but you can do it if you wish. It's not really necessary or recommended. If you use swap, it's easiest to do it through a file and not a partition.
Re: How does swap work on NFO VDS?
Makes sense, thanks for the info John!
We have no need for it right now, but it may have been good to have before we enabled mod_security, we were running out of memory from an apache targeted dos attack.
We have no need for it right now, but it may have been good to have before we enabled mod_security, we were running out of memory from an apache targeted dos attack.
Not a NFO employee