Article 557XS Do we need Swap for entry level vps?

Do we need Swap for entry level vps?

by
aboka
from LinuxQuestions.org on (#557XS)
hi, am running Ubuntu 20.04 LTS on an entry level vps with 2Ghz vCpu & 1GB RAM. The question is - will adding Swap be a good idea if its running as a vpn server with Fail2ban?

below is the RAM statistic when all is running - with one vpn client connects. max concurrent vpn client will be 3

total used free shared buff/cache available
Mem: 962Mi 207Mi 175Mi 2.0Mi 579Mi 593Mi
Swap: 0B 0B 0B

if it is a good idea, should we go for Swap file or Swap partition?

p/s - heard that is not recommended to run Swap on SSD, but that only applies to older SSD right?

thank you,latest?d=yIl2AUoC8zA latest?i=83-feoBotT0:3-wATEdlc48:F7zBnMy latest?i=83-feoBotT0:3-wATEdlc48:V_sGLiP latest?d=qj6IDK7rITs latest?i=83-feoBotT0:3-wATEdlc48:gIN9vFw83-feoBotT0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments