Hello,
We have identified what appears to be the root cause of a severe CPU usage issue affecting our website.
After tracing the PHP process with strace, we found that the process becomes stuck in what appears to be an infinite autoloading loop inside the XStore Core Plugin (et-core-plugin).
The process continuously attempts to locate thousands of files that do not exist, generating repeated ENOENT (No such file or directory) system calls. The activity is consistently occurring within:
wp-content/plugins/et-core-plugin/
Examples of the file paths being searched include:
…/packages/vendor/opauth/facebook/WP/CONSENT/API.php
…/packages/vendor/opauth/google/CMB2/Boxes.php
Instead of stopping after the files are not found, the autoloader continues trying different path combinations indefinitely. This results in a PHP worker consuming approximately 80% of a CPU core until the process is terminated.
Based on the strace output, this behavior appears to originate from the autoloading mechanism included in et-core-plugin, possibly related to the bundled libraries such as CMB2 or the Opauth social provider packages.
Could you please investigate whether this is a known issue with the plugin’s autoloader or vendor packages? If there is a patch, updated version, or recommended fix, we would appreciate your guidance.
If needed, we can provide the complete strace output and any additional debugging information to help reproduce and diagnose the issue.
Thank you.