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)

Catalog Search & Faceted Price Reindexing Without 504 Timeouts

Run ps_facetedsearch price indexing and PrestaShop search rebuilds via CLI cron instead of browser Admin timeouts.

CLI php bin/console · 0 Web Timeouts · 150k SKUs

Catalog Search & Faceted Price Reindexing Without 504 Timeouts
Telemetry verified 2026-11-07 by EuroCart Bench.

Why Browser-Triggered Reindexing Fails Past 20,000 SKUs

Clicking "Rebuild Entire Index" inside the PrestaShop Back Office binds a single HTTP PHP-FPM worker for minutes at a time, hitting proxy request_terminate_timeout or Cloudflare 100-second limits long before 100,000 SKUs finish.

Deterministic CLI Cron Scheduling

Trigger search and ps_facetedsearch URL cron tokens via local curl or PHP CLI during low-traffic hours with Innodb flush_log_at_trx_commit = 2 to complete 150k-SKU refreshes cleanly.

Measured Thresholds & Configuration

Catalog SizeWeb Admin ReindexCLI / Local CronInnoDB Flush Setting
10k SKUs28 sec (Risky)14 sec (Safe)trx_commit = 2
50k SKUs504 Timeout68 sec (CLI Safe)trx_commit = 2
150k SKUs504 Timeout210 sec (Batched CLI)trx_commit = 2 + 6-8G Pool
CLI php bin/console · 0 Web Timeouts · 150k SKUs Launch ChemiCloud ($4.49)Hostinger KVM 4 ($9.99)