Swap size for VPS

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?

VPSSwap Size
Answer Share

2 Answers

Mesas answered 9 years ago
Mesas answered 9 years ago

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

Bruce answered 9 years ago
Bruce answered 9 years ago

Generally the swap size is double the existing physical memory the machine is installed with. If its installed with 1 GB, the swap size is 2 GB.

Your Answer
Anonymous

Hosting Companies insights

2040 Web Hosting Reviews A trusted source of genuine reviews. Learn Reviews
2453 Web Hosting Companies Ever-growing pool of web hosting providers. Browse Providers
2830 Web Hosting Coupons Exciting web hosting deals available here Browse Coupons
Share
Tweet
Share
Share
Share
Email