A Starting Point for Each Plan
Small WordPress sites with page caching, using the rule above: 2 GB for the system, then 100 to 200 MB per site. These are rough starting points, not limits: traffic, plugins and caching move them a lot in both directions.
What Each Kind of Site Needs
| Kind of site | Mostly limited by | Rough need |
|---|---|---|
| Static site (HTML, Hugo, Astro) | Disk and transfer | A few MB of memory; hundreds per server |
| WordPress with page caching | Memory | 100–200 MB each when quiet |
| WordPress without caching, or WooCommerce | Memory and CPU | 500 MB to several GB each |
| Node.js or Python app | Memory | 100 MB to 1 GB per process |
| Database server shared by all sites | Memory | 512 MB to a few GB, more for large sites |
Measure Instead of Guessing
Once a few sites are live, look at what they actually use at a busy time of day:
free -h # memory in use; "available" is what is left
ps -C php-fpm8.3 -o rss= | awk '{s+=$1} END {print s/1024 " MB for PHP"}'
mysql -e "SHOW VARIABLES LIKE 'innodb_buffer_pool_size';"
df -h / # disk
vnstat -m # transfer per month, if installedDivide the memory used by your sites by how many there are, and you have your own per-site figure. Leave a quarter of the memory free for traffic spikes. Your dashboard's usage charts show the same over 30 days. The PHP-FPM process name depends on the version installed (php-fpm8.2, php-fpm8.3 and so on).
Fit More Sites on One Server
- Cache pages. A cached page is served without PHP or the database, which is the biggest single saving.
- Size PHP-FPM per site. Use
pm = ondemandwith a lowpm.max_childrenfor quiet sites, so idle sites hold no workers. - Share one database server rather than one per site, with a separate database and user for each.
- Move media and backups off the server, to object storage or a storage box.
- Add swap as a safety net, not as extra memory: adding swap on Linux.
Hosting a website on a VPS sets up the web server and certificates, nginx vs Apache helps pick one, and how much RAM a VPS needs goes deeper on memory.