Virteche
Guideschevron_rightServers

Servers · 6 min read · Updated

How Much CPU and RAM Does a VPS Need?

Most single websites and apps run comfortably on 2 vCPU and 2–4 GB of memory. A busy WordPress or WooCommerce shop, a Docker stack of several services, or a database server wants 4 vCPU and 8 GB or more, and Windows Server needs about 2 GB for itself before anything else runs. Memory usually runs out before CPU does. The surest way to size a server is to measure: run the workload for a week and check memory, load and swap with the commands below.

Rough Sizes by Workload

WorkloadvCPUMemoryNotes
Static website, VPN, small tools11 GBAlmost anything is enough; disk and network matter more.
WordPress or a PHP site, modest traffic22–4 GBPHP workers plus MySQL or MariaDB on the same server.
Busy WordPress or WooCommerce48 GBMore PHP workers, a bigger database cache, maybe Redis.
Node.js, Python or Go app with a database2–44–8 GBDepends on the app; the database usually wants the most memory.
Docker Compose stack of several services48 GBAdd up each container's use with docker stats.
Dedicated database server4+8 GB+Memory is cache: the closer to the working set, the fewer disk reads.
Minecraft Java, a few friends2–44–6 GBModpacks and more players need 8 GB or more.
Windows Server2–44–8 GBWindows itself uses about 2 GB before you start anything.

These are starting points for modest traffic, not limits. A well-cached site can serve far more on the same hardware, and a heavy plugin or an unindexed query can need far more.

Measure Memory

free -h
ps aux --sort=-rss | head -10      # the biggest processes, by memory
docker stats --no-stream           # per container, if you use Docker

In free -h, look at available, not free. Linux fills spare memory with disk cache and gives it back on demand, so a low “free” is normal. Low “available”, plus swap in use, means the server is short of memory.

Measure CPU

nproc            # how many vCPU you have
uptime           # load average over 1, 5 and 15 minutes
vmstat 5         # "us"+"sy" is CPU in use, "wa" is waiting for disk

A load average that stays above the number of vCPU means work is queuing. The CPU chart on your server's page in the dashboard shows the same over 24 hours, 7 days or 30 days, which is the view you want before deciding to resize.

Measure Disk Activity

sudo apt install -y sysstat
iostat -x 5      # %util near 100 for long stretches means the disk is the bottleneck

High disk activity on a database server is often a memory problem in disguise: with more memory, more of the data stays cached and fewer reads reach the disk.

When to Go Bigger

Move to a bigger plan when, over a normal week, available memory stays low and swap stays in use, or load stays above your vCPU count. If the largest VPS shows the same signs, a dedicated server is the next step; see VPS vs dedicated server. A short-term spike can also be absorbed by adding swap while you decide.

Common Questions

  • Is more CPU or more RAM more important?

    For most web servers and databases, memory runs out first. Running out of memory makes the server swap or kill processes; running out of CPU only makes it slower. CPU matters most for builds, video encoding, compression and game servers.

  • What is a vCPU?

    A virtual CPU core given to your server. On Virteche Cloud each vCPU is dedicated to your server rather than shared, so a busy neighbour does not slow you down.

  • Can I start small and upgrade later?

    Yes. Measure for a week or two after launch, then move to a bigger plan if the numbers say so. Sizing on real use beats guessing up front.

Plans and prices

VPS Plans

KVM servers with dedicated vCPU and NVMe storage in Ashburn and Dallas. Move to a bigger plan when your numbers say so.

See all plans
  • Bronze

    3 vCPU · 6 GB RAM · 75 GB SSD

    2 TB transfer

    $37.50/mo

    Configure inAshburnDallas
  • Silver

    4 vCPU · 8 GB RAM · 100 GB SSD

    4 TB transfer

    $46.50/mo

    Configure inAshburnDallas
  • Gold

    6 vCPU · 12 GB RAM · 150 GB SSD

    6 TB transfer

    $60.00/mo

    Configure inAshburnDallas
  • Diamond

    8 vCPU · 16 GB RAM · 200 GB SSD

    8 TB transfer

    $73.50/mo

    Configure inAshburnDallas

Network port: 10 Gbps in Ashburn, VA, 50 Gbps in Dallas, TX. Pick the location when you configure.

Keep Reading

All guides