Skip to main content
PrestaShopRAM
PrestaShopRAM Partner Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral commission at zero extra cost (Partner Disclosure).
Stack Matrix Hub (8)

Sizing PHP-FPM pm.max_children for PrestaShop Checkout Bursts

Calculate exact pm.max_children ceilings from 6 to 120 workers without Linux OOM kills or 502 gateway queues.

6-120 workers · pm = dynamic · max_requests = 500

Sizing PHP-FPM pm.max_children for PrestaShop Checkout Bursts
Telemetry verified 2026-11-07 by EuroCart Bench.

Exact Memory Ceiling Equation for PHP-FPM

Never size pm.max_children by guesswork. Subtract MariaDB innodb_buffer_pool_size, Varnish/Redis cache memory, and 512 MB OS headroom from total host RAM, then divide the remainder by your measured PrestaShop per-worker RSS (160-290 MB).

Recycling Long-Lived Workers with pm.max_requests

Third-party payment and shipping modules occasionally leak memory across requests. Setting pm.max_requests = 500 gracefully respawns PHP-FPM children before RSS fragmentation erodes your MariaDB buffer headroom.

Measured Thresholds & Configuration

Host RAMReserved DB + Cache + OSAvailable PHP PoolSafe pm.max_children
3 GB (ChemiCloud Turbo)1.15 GB1.85 GB8-11 workers
8 GB (ChemiCloud VPS)2.9 GB5.1 GB22-28 workers
16 GB (Hostinger KVM 4)5.3 GB10.7 GB44-58 workers
32 GB (Hostinger KVM 8)9.5 GB22.5 GB88-120 workers
6-120 workers · pm = dynamic · max_requests = 500 Launch ChemiCloud ($4.49)Hostinger KVM 4 ($9.99)