Can any one give me opinions and inputs on what the swap size should be in a VPS. I've read that in Linux machine the swap should have the same size as the amount of physical memory the machine is installed with.
Dose this apply to a VPS, should a VPS having 512Mb dedicated Ram have 512Mb swap or smaller?
VPS Hosting VPSSwap Size2 Answers
swap should always be at least equal to ram, standard practice is double the amount of ram in swap. Granted swap is used to get over the hump when not enough ram in available, but it is also used to write ram to during a suspend, if you have less swap then ram, you'll never suspend