PHP-FPM breaks WooCommerce API calls intermittently on Ubuntu 22.04
I'm running a WooCommerce store here: https:/
Recently, I noticed a recurring issue where:
WooCommerce REST API calls (especially admin-ajax.php) time out
Logs show intermittent PHP-FPM child process failures
This impacts everything from cart updates to third-party plugin APIs
Steps to reproduce:
Install WooCommerce on a WordPress instance (PHP 8.1, Apache)
Use a plugin that makes regular AJAX calls (e.g., currency switchers, Cloudflare cache plugins)
Monitor /var/log/
This bug affects frontend behavior and causes random 502s.
System Info:
Ubuntu 22.04
Apache 2.4.52
PHP 8.1.2
WooCommerce latest
Please let me know if logs or config dumps are helpful. Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask carljames for more information if necessary.