Critical CPU Spikes Linked to XStore Core

This topic has 10 replies, 3 voices, and was last updated 3 weeks, 1 day ago ago by Tony Rodriguez

  • Avatar: Zeal Evince
    Zeal Evince
    Participant
    July 30, 2026 at 06:06

    Hello XStore Support,

    My WooCommerce website zealevince.in is experiencing severe CPU and memory usage whenever XStore Core 5.7.6 is active.

    Hostinger reviewed the logs for July 29, 2026, 04:00 UTC to July 30, 2026, 04:00 UTC and found:

    CPU remained near 100% for almost the entire 24-hour period
    Memory repeatedly reached 5.8–6.1 GB
    Peak memory was 6,121 MB
    The main heavy request was:
    /wp-admin/admin-ajax.php?action=etheme_ajax_search

    Some of these requests took 18–23.5 seconds.

    Hostinger confirmed that wp-cron.php and WP-CLI were not the main cause. WooCommerce/Shiprocket REST traffic was present but appeared secondary.

    I disabled XStore AJAX/live search to test it, but the CPU spikes continued. Since disabling it did not resolve the issue, I reactivated AJAX search.

    When XStore Core is deactivated, resource usage remains normal. When it is active, CPU repeatedly reaches 100%.

    Please investigate:

    Why etheme_ajax_search requests are taking 18–23 seconds
    Whether another XStore Core function is triggering the same AJAX hook
    Whether there is a known issue in XStore Core 5.7.6
    Whether XStore Core is conflicting with WooCommerce, NitroPack or another plugin
    Whether you can provide a fix, patch or debugging method to identify the exact XStore module causing the spikes

    I am attaching the Hostinger resource graphs and their findings.

    Thank you.

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 30, 2026 at 14:08

    Hello, Zeal Evince,

    The complexity and speed of the etheme_ajax_search request depend on various factors, including:

    1. The number of products
    2. Whether SKU search is enabled or disabled
    3. Whether variation search is enabled

    To reduce the load on the search and improve its speed, we recommend navigating to XStore -> Theme Options -> Speed Optimization -> “Search Results Cache” and enabling this option.

    Best regards,
    8Theme’s Team

    Avatar: Zeal Evince
    Zeal Evince
    Participant
    July 30, 2026 at 17:22

    Hi, Thanks for your input.
    But we have built other websites as well on XStore, and they have also been hosted on Hostinger, and those website hosting plans are much lower than this one. But still, these website resources are consumed. This is the first website we used XStore on.

    We tried enabling the “Search Results Cache”, but there is still no improvement.

    Can you please check if something else is wrong? If we are using the older Xstore, then we may need to move to the new one.

    Avatar: Zeal Evince
    Zeal Evince
    Participant
    July 31, 2026 at 06:23

    Hi,

    I investigated further and, as per Hostinger’s advice, did the following:

    Stop live search from firing on short input

    1. Set a minimum of 3–4 characters
    Add a small debounce delay (added code through snippets plugin)
    Narrow what XStore searches

    2. Search products only
    Prefer title + SKU
    Avoid pages/posts/extra fields unless needed
    Reduce the live-search result count

    3. Lower posts_per_page
    Do not leave it at 100
    Simplify the search results page

    4. Remove heavy widgets/filters
    Keep only what is needed on the results template

    5. Disable AJAX live search and use normal search instead.

    But the CPU Limits are still reached.

    We have built other websites as well on XStore, and they have also been hosted on Hostinger, and those website hosting plans are much lower than this one. But still, these website resources are consumed.

    Please can you help resolve this?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 31, 2026 at 06:26

    Hello, Zeal Evince,

    We are pleased to inform you that we have enabled additional caches for you, including those for the menu, static blocks, search results, and product filtering results. Furthermore, we have activated and configured lazy loading for images, which is expected to reduce server load and enhance frontend loading speed. We kindly request that you provide us with the specifications of your server.

    Best regards,
    8Theme’s Team

    Avatar: Zeal Evince
    Zeal Evince
    Participant
    July 31, 2026 at 06:34

    The following is Our Server Specification.

    Cloud Professional Hosting with:

    5 CPU cores
    6 GB RAM
    250 GB storage
    3,000,000 inodes
    200 PHP workers / entry processes
    LiteSpeed web server
    MariaDB 10.5
    Server location: India
    Your current site is running on PHP 8.2.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 31, 2026 at 15:13

    Hello, Zeal,

    Thank you for the server specifications. Could you please let us know if our configurations were helpful to you? Additionally, please try switching PHP to version 8.3.

    Best regards,
    8Theme’s Team

    Avatar: Zeal Evince
    Zeal Evince
    Participant
    August 1, 2026 at 06:16

    Hi,

    The CPU usage has reduced and are now under limits. We have also switched the PHP version to 8.3.

    Thanks for your help and support.

    Regards,

    Zeal Evince Team

    Avatar: Zeal Evince
    Zeal Evince
    Participant
    August 1, 2026 at 06:17

    Thanks for the support! My topic “Critical CPU Spikes Linked to XStore Core” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 1, 2026 at 06:17

    Dear Zeal Evince,

    It’s great having you in our WordPress & WooCommerce community!

    Every insight you share helps us refine XStore and build tools that empower thousands of online store owners worldwide.

    Together, we grow stronger with every release.

    Topic closed.
    The 8Theme Team

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

The issue related to '‘Critical CPU Spikes Linked to XStore Core’' has been successfully resolved, and the topic is now closed for further responses

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