ENGINEERING REFERENCE / WEB / 014

VPS for Web Hosting & WordPress Sizer

Estimate the worker pool, memory and storage behind your websites.

Reference specifications

STATIC / DEFAULTS

Illustrative scenarios with independent inputs. Headroom is a larger planning target, not a guaranteed matched plan.

Web workloadMinimumRecommendedHeadroom
Blog2 vCPU / 4 GB RAM / 25 GB disk2 vCPU / 4 GB RAM / 35 GB disk2 vCPU / 4 GB RAM / 40 GB disk
WooCommerce store4 vCPU / 8 GB RAM / 40 GB disk4 vCPU / 8 GB RAM / 50 GB disk6 vCPU / 12 GB RAM / 60 GB disk
Multi-site agency4 vCPU / 8 GB RAM / 100 GB disk4 vCPU / 8 GB RAM / 130 GB disk6 vCPU / 12 GB RAM / 160 GB disk
01 / REQUEST PATH

Size the PHP pool from cache misses

Web request path from page cache to PHP workers, object cache and storage.
Cache hits bypass much of the application path; logged-in and checkout requests may not.

Reference sizing tiers

Tier Scenario inputs CPU RAM Storage Catalog price Network at price endpoints
Minimum stack=wordpress; sites=1; concurrency=20; cacheHitPercent=80; objectCache=false; mediaGb=8 2 vCPU · shared x86_64 4 GB 25 GB NVMe/SSD $4.54–$96.00 USD/mo OVHcloud VPS-1 (2027) (Unmetered, 500 Mbps port); Vultr High Frequency 16 GB (5 TB)
Recommended stack=wordpress; sites=1; concurrency=20; cacheHitPercent=80; objectCache=false; mediaGb=8 2 vCPU · shared x86_64 4 GB 35 GB NVMe/SSD $4.54–$96.00 USD/mo OVHcloud VPS-1 (2027) (Unmetered, 500 Mbps port); Vultr High Frequency 16 GB (5 TB)
Comfortable stack=wordpress; sites=1; concurrency=20; cacheHitPercent=80; objectCache=false; mediaGb=8 2 vCPU · shared x86_64 4 GB 40 GB NVMe/SSD $4.54–$96.00 USD/mo OVHcloud VPS-1 (2027) (Unmetered, 500 Mbps port); Vultr High Frequency 16 GB (5 TB)

Use the RAM calculator to budget PHP workers and caches, and the bandwidth calculator to estimate origin traffic.

Translate requests into workers

Enter the maximum simultaneous requests reaching the origin, not visits per month. The calculator multiplies that concurrency by the assumed miss fraction and a 1.3 queue allowance, rounding the PHP-FPM pool upward. Static reverse-proxy mode has no PHP workers. WooCommerce applies a 35% minimum dynamic fraction because carts, accounts and checkout frequently bypass page caching; actual plugins and traffic can make the fraction higher or lower.

A worker is not a fixed-size object. Extensions, themes, imported libraries and slow upstream calls alter both process memory and occupancy. Measure private or proportional memory for representative busy PHP-FPM processes. The estimate assigns 90 MB per regular worker or 120 MB for a shop worker, then adds operating-system, web-service, database and optional Redis allowances. These are starting budgets, not a substitute for profiling the actual site.

Set pool limits without starving the host

Configure pm.max_children from the measured memory budget and the amount reserved for other services. An unlimited pool may exhaust RAM during a stampede, while an undersized pool may queue requests long enough to exceed proxy timeouts. Review FPM's listen queue and max-children warnings together with p95 latency. OPcache occupies shared memory; large plugin fleets and Redis keys can require more memory than the baseline.

Web-server choice also matters. An event-driven Nginx front end can serve many idle connections efficiently, but Apache's memory profile depends on its selected MPM and how PHP is integrated. Compare real processes and module configuration rather than assuming one fixed per-request cost. TLS termination, image resizing, search indexing and cron jobs need separate attention.

Plan files and failure domains

Disk starts with 14 GB for the system, three GB per site, and the entered media volume. Recommended and headroom sizes add spare capacity. Uploads, thumbnails, logs, staging copies and database dumps can grow independently; choose NVMe when low latency is required and confirm the exact storage type in the plan details. Local snapshots alone are not independent backups.

02 / OPERATION

Test the uncached path

Replay logged-in pages, add-to-cart requests, checkout and scheduled jobs together in a safe staging environment. Record cache-hit ratio at the origin, worker occupancy, query timings and available memory. A high page-cache percentage across the whole site can hide a much more demanding checkout path. Redis can reduce repeated queries, but it also consumes RAM and needs an eviction policy appropriate to the application.

Shared CPU may work for a small blog with short bursts. Dedicated capacity becomes more attractive when workers remain busy, queueing persists or store latency is unpredictable. Keep an off-host backup, test restoration and verify that the recovery includes media and database state from a consistent point.

Explore CPU architecture when choosing processor capacity, the database sizer for a separate data host, the game server guide for tick-driven services, and the video pipeline guide for media encoding.

FIELD NOTES / FAQ

Frequently asked questions

How should I set PHP-FPM pm.max_children?

Measure a busy worker’s private memory, reserve RAM for other services and divide the remaining worker budget by that footprint. Watch queueing and adjust under load.

Why can WooCommerce overload an otherwise cached site?

Cart, account and checkout requests often bypass page cache and invoke PHP and database work. Measure that uncached path separately.

Do OPcache and Redis need their own RAM?

Yes. OPcache shared memory and the Redis dataset, overhead and persistence all consume memory beyond PHP workers. Measure actual usage.

Does Nginx always use less memory than Apache?

No fixed comparison fits every setup. Apache MPM, modules, PHP integration and traffic patterns determine its footprint; measure your configuration.

Where should website backups live?

Keep an independent off-host copy of files and database, retain suitable history and regularly test a restore.

Does the static profile need PHP workers?

No. Static and reverse-proxy mode sets the modeled PHP pool to zero; upstream services may still need a separate budget.