How does swap work on NFO VDS?

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
User avatar
soja
This is my homepage
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?

Post by soja »

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
Not a NFO employee
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: How does swap work on NFO VDS?

Post by Edge100x »

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.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: How does swap work on NFO VDS?

Post by soja »

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.
Not a NFO employee
Post Reply