Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 7 replies, has 2 voices.

Last updated by Kor 10 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
August 9, 2024 at 7:50 pm

durIn-indL

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?

August 9, 2024 at 8:20 pm
August 9, 2024 at 8:21 pm #16057704

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

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?

August 11, 2024 at 8:56 pm #16060106

durIn-indL

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.

August 12, 2024 at 6:39 am #16060604

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Sure, thank you for getting back to me.

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.

August 12, 2024 at 9:18 am #16061260

durIn-indL

Hey Kor,

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.

August 12, 2024 at 9:56 am #16061475

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

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.

August 12, 2024 at 11:04 am #16061843

durIn-indL

The plugin you provided is not useful.

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.

August 12, 2024 at 2:14 pm #16062664

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

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.