High CPU Usage Caused by Infinite Autoloader Loop in et-core-plugin

This topic has 2 replies, 2 voices, and was last updated 1 day, 10 hours ago ago by Andrew Mitchell

  • Avatar: Wikafy
    Wikafy
    Participant
    July 27, 2026 at 15:09

    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.

    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 28, 2026 at 08:27

    Hello, Wikafy,

    Thanks for choosing XStore!

    Our theme is fully optimized for performance and does not slow down websites by default. In most cases, speed issues are related to additional content or setup, such as:

    • Excess plugins
    • Large, unoptimized images
    • Heavy third-party scripts or resources

    To improve performance, please consider:

    – Removing unused plugins
    – Optimizing images (WebP format recommended)
    – Using a performance plugin (e.g., WP Rocket, LiteSpeed Cache)

    Here is our step-by-step performance guide:

    https://www.8theme.com/documentation/xstore/troubleshooting/the-ultimate-2025-guide-to-boosting-wordpress-speed-with-xstore-theme/

    If you’d like, you can also share your site URL with temporary admin access, and our team will gladly check your setup and suggest improvements.

    We are here to help!

    Kind regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.