Discover the top-rated web hosting providers with trusted reviews, expert comparisons, and the latest deals.
Select Currency 7 Currencies
Select Region 9 Editions
VPS Hosting

VPS (Virtual Private Server) hosting is highly popular these days, and there are VPS plans available for small, medium, and even huge business websites!

In comparison to dedicated servers, VPS is pretty low-cost, and your enterprise remains independent if you buy a VPS plan!

Cheap Hosting

If you're starting your first website, you want to spend less on premium web hosting, worry about website performance, or know anything about CPU cores. You only need to consider usability, customer service, and long-term scalability.

Our experts have compiled a list of cheap hosting providers that combine affordability and reliability.

TheWebHostingDIR
DISCUSSION VPS Hosting

Swap size for VPS

Asked by Huisaydyw
15 years ago
2,695 views
2 answers

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?

2 Answers

M
answered 15 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

B
answered 15 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

Please share accurate, constructive advice to help other community members.

Posting as Guest / Community Member
Live Preview

Posts are reviewed by moderation to maintain community quality and eliminate spam.

Link copied to clipboard!

Hosting Companies insights