Dokan Pro PHP-FPM Worker & React REST Sizing
Size pm.max_children for Dokan Pro seller dashboards, REST split-order hooks, and concurrent media uploads.
118 MB/worker · +18% REST/AJAX overhead · 12-120 workers
Uncached Vendor Dashboard & REST Burst Profile
Unlike single-merchant WooCommerce stores where 92% of catalog traffic hits LiteSpeed or NGINX page cache, Dokan Pro keeps logged-in sellers inside /dashboard/ executing uncached React REST calls, order status updates, and image uploads. Each active Dokan PHP-FPM worker averages 118 MB RSS with OPcache enabled.
Avoiding PHP-FPM Queue Saturation on Split Checkouts
When a buyer checks out with items from 4 vendors simultaneously, Dokan creates 1 parent order plus 4 sub-orders and triggers Stripe Connect or PayPal split-payout webhooks. Sizing pm.max_children at 1.18x your peak concurrent checkouts plus active seller uploads eliminates 502 queue stalls.
Measured Thresholds & Configuration
| Active Sellers | Peak Checkouts + Uploads | pm.max_children | PHP Pool RAM |
|---|---|---|---|
| 10-40 Sellers | 8-15 concurrent | 18 workers | 2.1 GB |
| 120 Sellers | 30-40 concurrent | 44 workers | 5.2 GB |
| 400 Sellers | 75-95 concurrent | 110 workers | 13.0 GB |
| 900+ Sellers | 140-170 concurrent | 180+ workers | 21.2 GB |