High usage CPU - by cosmiquestudio - on WordPress WooCommerce support

This topic has 67 replies, 3 voices, and was last updated 2 years, 5 months ago ago by Olga Barlow

  • Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 2, 2021 at 12:04

    Hello there. I have a problem that I’ve been trying to fix since yesterday but was never able to solve. After installing the theme, CPU usage values ​​do not fall below 80%. Everything is too slow. I can not do anything. I also talked to our system administrator, he said that this may be due to the theme. At first, I did not believe that the theme would cause such a problem. I thought it was from the server and talked to my server service. Digital ocean said that he did not see any problems, but that it is not normal for the cpu usage values ​​to be like this. Then I tested the system files on a different server. Until I installed the theme, the CPU was working with an average of 10%, but immediately after installing it, it went above 80 percent CPU usage. And I think mysql is constantly resetting itself. I am getting 502 errors. The homepage is constantly giving ajax error. I’m pretty sure there’s something wrong with the theme right now. I’m so tired and I don’t want to deal with it anymore.
    Please take action and correct it.

    you can check images;
    without theme;
    https://ibb.co/xXCsNwX

    with theme;
    https://ibb.co/3zqTFzr

    Please, contact administrator
    for this information.
    66 Answers
    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 2, 2021 at 18:54

    It’s been 8 hours and still no response. Please can someone help me? I urgently need to solve this problem.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 10:24

    Hello,

    Take our apologies for the delay in answering. Go to Appearance > Widgets and remove Product Status widget from the shop sidebar https://prnt.sc/1y99vym
    Check the CUP usage after that and let me know about results.

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 12:04

    now i do what you say. its look the same usage cpu. and i install on app for malware and bot crawler. then i saw reduce CPU like normally. but when i deactive this app again making %100. and there is a problem. cause we cant do anything when i install this theme. always 522 or 524 timeout errors. please help me.

    when i deactive this malware app;

    https://pasteboard.co/XChwABXsuF6w.png

    when i active this malware app;

    https://pasteboard.co/EpZi6vuHmk4X.png

    we need urgent help. please do not wait 24 hours to reply. When I review the forum, you reply in 10-15 minutes on average. We expect the same urgency.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 12:17

    Hello,

    Could you get information on what requests uses the whole CPU on your site from your hosting provider? They should have some detailed reports. At this moment we don’t understand what theme option could cause the mentioned issue. So, we need to detect what exactly causes the issue to fix that.

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 12:20

    I talk with digital ocean customer service and they said “This problem is not our thing. and they said we can’t fix it from here” And the reason why we want you to review is there is no problem with the default theme. whenever we install your theme the system explodes.

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 12:37

    When we publish the site with a different theme, the CPU works at an average of 20-30%. When we install the Xstore theme, the CPU usage 100%.

    We also tested this on a different server, the problem only happens when we install Xstore theme. We are sure of that.

    Also we install “Booter – Bots & Crawlers Manager” plugin, the CPU returns to normal while using Xstore theme.

    What we understand here is that there is a problem between our store and the xstore theme. We ask you to check this and help us resolve it. We want to use your theme. But the CPU issue needs to be resolved. Maybe this is a simple problem. Please fix this.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 12:59

    Hello,

    We do not ask the hosting provider to fix anything. We just need more information about the reasons of the issue (requests that cause the mentioned problem).
    Anything that would point us to the right direction.

    Also, please ask your host to enable shell_exec() function and give it executable permission to allow us to check CPU usage from Dashboard.

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 13:03

    Understood. But I talked to them, they don’t know exactly what the problem is. All we know is that when the bot plugin works, the cpu returns to normal. The problem must be here somewhere. We can authorize you to enter and check. Maybe you can see something we can’t see.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 13:13

    Hello,

    Ask your host to enable shell_exec() function and give it executable permission to allow us to check CPU usage from Dashboard https://gyazo.com/e132f54e1ad60143f1d58f43efb9a6b8

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 13:17

    can we do this? Or does the hosting company have to do it?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 13:35

    Hello,

    It’s related to server settings. If you know how to do this and have the necessary permissions you can do this by yourself. If not then contact your hosting support.

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 13:43

    Okey we did. Check now please.

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 15:35

    anything news?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 16:42

    Hello,

    Thank you. I checked your site with the default theme and disabled core plugin and CPU usage is still over 90% https://recordit.co/sNG7Px47bu It means that no matter if our theme is activated or not it’s high.

    It would be better to talk with your hosting provider about that.

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 3, 2021 at 17:01

    We tested it on a different server with the default theme. CPU worked normally. But some visuals did not appear there either. Then we activated your theme. Images came but CPU was 100%.

    So if the problem was hosting, the CPU should be at 100% in your contact. You say you tested it. But even if you remove the theme, some files of the theme remain in the background, so the CPU continues to increase.

    Here is my solution; find the problem between the theme and the store. Is there something incompatible?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 3, 2021 at 17:17

    Hello,

    If you deactivate the theme and XStore core plugin then any of the theme files do not load on the background because it’s not possible.

    You can log in to Dashboard and go to the section that I sent you in the video and check by yourself. With our theme and with the default theme.

    I see that no matter what theme is active CPU is high. Not always but often.

    Regards

    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 5, 2021 at 13:41

    Check the private.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 5, 2021 at 16:32
    Avatar: cosmiquestudio
    cosmiquestudio
    Participant
    November 7, 2021 at 09:28

    we need to setup nginx?

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