Skip to main content
ElementorRAM
ElementorRAM Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Partner Disclosure).
Hosting Tiers Hub (10 Guides)

Deterministic PHP-FPM pm.max_children Sizing Formula

Set pm.max_children = floor((Total RAM - MariaDB - Redis - OPcache - OS) / Worker RSS) to prevent kernel OOM kills under traffic spikes.

(Available Pool RAM) / (Worker RSS MB)

Deterministic PHP-FPM pm.max_children Sizing Formula
Telemetry baseline verified 2026-11-01 by BuilderBench WP.

The OOM Trap of Oversized pm.max_children

Setting pm.max_children=50 on a 4 GB VPS looks responsive until a bot crawl or WooCommerce flash sale spawns 25 Elementor workers at 240 MB each (6 GB), forcing the Linux OOM killer to terminate MariaDB or PHP-FPM.

Dynamic vs Ondemand Process Manager Settings

Use pm = dynamic for active WooCommerce stores with pm.start_servers at 30% of max_children and pm.max_requests = 500 to recycle any fragmented PHP worker memory cleanly.

Measured Thresholds & Configuration

Server RAMNon-PHP OverheadAvailable FPM PoolSafe pm.max_children (240 MB RSS)
3 GB Cloud0.9 GB2.1 GB8 children
6 GB Turbo/Pro1.1 GB4.9 GB20 children
16 GB VDS1.5 GB14.5 GB42+ children (CPU-balanced)
(Available Pool RAM) / (Worker RSS MB) Inspect ChemiCloud TurboCheck Hostinger Cloud