High server CPU usage with the xstore on Woocommerce + elementor

This topic has 20 replies, 5 voices, and was last updated 5 months, 2 weeks ago ago by Jack Richardson

  • Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    June 29, 2024 at 09:38

    Hello, I have a problem with the store on xstore. Unfortunately, since June 19, my hosting CPU usage has been at 100% all the time. After turning off xstore, the problem disappears. What can I check? Everything is updated to the latest version.

    19 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 29, 2024 at 09:53

    Hello Kruczek WebHouse,

    Thank you for reaching out to us.

    Thank you for reaching out to us with your concern. We understand the importance of ensuring smooth operation of your store and we apologize for any inconvenience caused by the high CPU usage.

    To assist you effectively, could you please provide us with the following details:
    – The specific activities or features being utilized when the CPU usage increases.
    – Any error messages or logs that you might have noticed during this time.
    – Provide us with temporary wp-admin and FTP access.

    This information will help our technical team to diagnose the issue accurately and provide a suitable solution.

    Best Regards,
    8Theme’s Team

    Please contact administrator
    for this information.
    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    June 29, 2024 at 09:59

    I am sending access.

    Please contact administrator
    for this information.
    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    June 29, 2024 at 10:13

    This is graph

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 30, 2024 at 13:21

    Hello Kruczek WebHouse,

    Private Content

    Best Regards,
    8Theme’s Team

    Please contact administrator
    for this information.
    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    June 30, 2024 at 18:41

    Still the same.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 1, 2024 at 13:26

    Dear @Kruczek WebHouse,

    I hope this message finds you well. We have identified several factors contributing to the high CPU usage on your website and would like to offer some guidance to help address these issues.

    1. **Plugin Activity**: Our analysis shows that your site is currently running approximately 32 active plugins, as illustrated here: https://prnt.sc/q9p8EvBjoCK3. Each plugin executes its own code, which can significantly impact CPU performance. Please, use the really need ones and deactivate others.

    2. **Optimization Recommendations**: We recommend reviewing the following article, which provides valuable insights into optimizing your website settings to enhance CPU efficiency: https://www.8theme.com/documentation/xstore/troubleshooting/how-to-speed-up-my-website/.

    3. **Third-Party Plugin Errors**: After installing the Query Monitor plugin, we have detected several errors originating from third-party plugins. Details can be found here: https://prnt.sc/LGhIOpt831Yj.

    To further investigate and mitigate the high CPU usage, we kindly request that you contact your hosting provider for detailed information regarding the CPU usage. Specifically, it would be beneficial to obtain a list of functions and features that are consuming the most resources.

    We appreciate your prompt attention to this matter and are here to assist you with any further questions or concerns.

    Best Regards,
    Jack Richardson
    8Theme’s Team

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 2, 2024 at 12:44

    I’m sending data.more plugins can no longer be disabled – everything is needed. photo optimization is done. cache has now been disabled – no difference. only after disabling xstore the problem disappears.

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 3, 2024 at 09:48

    Hello, Kruczek WebHouse,

    We hope this message finds you well. Upon reviewing the logs, we did not find any indications related to xstore issues. However, we have observed an overloaded wp-cron.php, which suggests a high number of deferred or repeated tasks. This could potentially be linked to settings for auto-updates (update checks) or connections to external APIs.

    Please proceed with updating all plugins and then re-evaluate the system.

    Best regards,
    8Theme’s Team

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 3, 2024 at 10:00

    So why does everything stop after disabling the xstore plugin?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 3, 2024 at 15:49

    Dear @Kruczek WebHouse,

    I hope this message finds you well.

    We acknowledge that you are experiencing unique CPU-related issues while utilizing our XStore theme. After conducting extensive tests on our demo environments, local sites, and the development sites managed by our support team, we have not encountered similar issues. Consequently, we find ourselves at an impasse, as all conventional solutions have been exhausted without success. It appears that a specific interaction between our theme and your WordPress configuration may be contributing to these challenges.

    Regarding the management of WP Cron, particularly for higher traffic websites, disabling WP Cron could be a viable strategy. It is essential to configure your server to execute wp-cron.php periodically, ensuring that automatic updates for plugins continue to occur, whether daily or at another interval of your choosing. Although Wordfence does not manage this aspect, I recommend visiting the following link for guidance on how to disable WP Cron: https://kinsta.com/knowledgebase/disable-wp-cron/

    We hope this information proves helpful to you. Should you require further assistance or have additional questions, please do not hesitate to contact us.

    Best Regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 4, 2024 at 06:32

    After disabling cron and additionally disabling and enabling the woocommerce and xstore plugins, the CPU calmed down for a while, and then the CPU consumption was the same as before. After turning off xstore, the problem disappears. Please give me further tips on what I can do. This is clearly a problem with the theme and its plugin.

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 4, 2024 at 06:34

    Additionally, the lscache folder on the host fills up very quickly – I have to clean it once a day, even though the cache plugin is disabled…

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 4, 2024 at 09:31

    Dear @Kruczek WebHouse,

    We would like to suggest that you consider testing your website with an alternative theme for a period of 1-2 days. It may be beneficial to set up a staging website for this purpose. As previously mentioned, this issue is unfamiliar to us, and we are committed to finding a solution that will be advantageous for both parties.

    Regarding the issue with lscache, we recommend reaching out directly to the plugin’s author for further insights. Their response may provide clues as to why you are experiencing CPU overloading and excessive caching.

    Additionally, we advise you to review the .htaccess files from both your previous and current websites. There may be configurations triggering frequent refreshes or recaching processes.

    Thank you for your attention to these suggestions. We look forward to resolving these issues together.

    Best Regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 4, 2024 at 09:44

    The cache plugin is disabled and removed – it does not affect the website. I ran tests and disabling your themes and core plugins solves the problem. I have ruled out other plugins as the cause of the problem. I expect you to help me solve a problem with your software. I also hope that it will be done quickly because support has been going on for too long.

    Avatar: Niddy
    Niddy
    Participant
    July 4, 2024 at 11:05

    This exact same issue is happening on our super-fast dedicated server with 8cores lol – it was fine for years then since the recent upgrade, our server is hitting 100% CPU and RAM too – disabling X-Store does indeed fix it instantly.

    https://www.8theme.com/topic/issue-with-server-cpu-ram-since-last-update-not-the-first-post-to-report-this/

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 4, 2024 at 11:07

    @Jack Richardson Support – please approach the topic as a priority. As you can see, more people have this problem…

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 4, 2024 at 12:53

    Dear @Kruczek WebHouse,

    We hope this message finds you well. We are currently investigating the potential causes of the issue you have reported. Our team is diligently working to identify a solution and will provide you with an update as soon as possible.

    In the meantime, we recommend reviewing recent discussions related to WordPress, as it appears that this issue may not be unique to the XStore theme. You may find the following topic particularly relevant: https://www.8theme.com/topic/issue-with-server-cpu-ram-since-last-update-not-the-first-post-to-report-this/#post-403080.

    Also, it would helpful for us if you could check the CPU usage with the previous archives with XStore v.9.3.11 & XStore Core v.5.3.11 versions. If you are able to make such test, please give us a feedback and we will send you the archives for test.

    Thank you for your patience and understanding. Should you have any further questions, please do not hesitate to contact us.

    Best Regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Kruczek WebHouse
    Kruczek WebHouse
    Participant
    July 8, 2024 at 13:21

    Hi,
    Do you have new info?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 8, 2024 at 16:05

    Dear @Kruczek WebHouse,

    I hope this message finds you well. We are reaching out to inform you that we have recently incorporated compatibility with the latest PHP 8.3 in our recent updates. To assist us in ensuring seamless functionality, we kindly request that you consider downgrading the PHP version on your website to 7.4.x.

    Please test this configuration with the latest archives. If everything operates correctly, we would appreciate it if you could then also test the latest theme archives with PHP version 8.0.

    We have implemented numerous modifications to enhance compatibility, and your assistance in verifying these changes would be invaluable, particularly in addressing the CPU usage issue you encountered.

    Thank you for your cooperation and support. We look forward to your feedback.

    Best Regards,
    Jack Richardson
    The 8Theme Team

  • Viewing 20 results - 1 through 20 (of 20 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.