Background of the issue:
I am trying to manage CPU usage on my website. If I disable WPML, the CPU usage stays between 100% to 300%. Once I activate WPML, the CPU usage doubles or triples. The issue can be seen on this page: hidden link
Symptoms:
High CPU usage when WPML is activated.
Questions:
Why does CPU usage increase significantly when WPML is activated?
How can I reduce CPU usage while using WPML?
We got disconnected so I've converted the chat into a ticket for a follow-up. Could you please let me know when the backup is done so that I could continue to check?
Can you please continue with your analysis, I did the backup, please jut LMK in advance in case you need to change something that it might breaks the site.
I've reviewed your website and observed delays when accessing the backend. Do you have any tools or plugins that can monitor CPU usage with WPML activated or deactivated? Having this data would help me investigate the issue further for you.
The only tool I have is Query Monitor which I am not sure if tracks CPU usage, I also use Resource usage from my cPanel to check the CPU, but it doesn't give any clues on which process or script is causing the overhead, here are some screenshots:
hidden link hidden link
If you have recommendations of tools, please share with me so we can provide, or in case of plugins, you can install by your own.
I can also share the cPanel credentials with you, just point me the safe way to do that.
Thank you for your response. Query Monitor doesn’t display CPU usage. A quick search led me to this plugin: https://wordpress.org/plugins/wp-server-stats/ . Could you give it a try? If that doesn’t work, perhaps you could clone the site to another server and provide cPanel access to the staging environment so I can monitor the CPU usage directly.
I am not sure if I will be able to provide a staging site, but what if you deactivate on production to check the CPU usage? This could be done between 8pm - 7am BRT (Brazilian time) only, since you are 8 hours ahead of us I think that would be fine.
I think if you deactivate between these range of times would not be a problem, if you can reactivate again after that, I did that to confirm the issue before.
Adding a staging site in the conditions I have now will just make even more use of CPU and my server can exhaust resources.
Let me know if that works for you, if so, I can provide the cPanel.
It would be best if we could work on a staging site. If we're able to see the speed difference when I deactivated the WPML plugin, I will have to troubleshoot and investigate the site thoroughly which might break or cause downtimes.
Are you able to provide a staging site along with CPANEL access to that staging server so that I could follow up?
The topic ‘[Closed] High CPU usage once WPML is activated’ is closed to new replies.