Background of the issue:
I use Amazon Lightsail server and am using WPML well. My site has been using a lot of CPU capacity lately. Even when there are few visitors, such as early in the morning, CPU usage is high. It seems like the WPML plugin is causing increased CPU usage or there is an issue with MySQL CPU usage. I applied most of the things like updating plugins, clearing cache memory, disabling WPML plugin, enabling default theme etc but the problem did not go away. When I looked at the currently running data using the top command, I could see that it was excessively high. I previously saw a terminal command that reduces MySQL usage in WPML-related documentation, but I can't find it.
Symptoms:
High CPU usage on the server, potentially related to WPML or MySQL.
Questions:
How can I solve the high CPU usage problem related to WPML or MySQL?
-- Try disabling the setting to "Adjust IDs for multilingual functionality" at WPML > Languages > Make themes work multilingual. Recommended themes should not need this setting.
"translatable use translation if available or fallback to default language" is not in use and is only being translated. I turned off "Adjust IDs for multilingual functionality", but CPU usage is still excessively high.
I have attached debug information. What can I do? help..
Could you confirm whether the increase in CPU utilization is directly caused by WPML? What happens to the CPU usage when WPML is deactivated? This information will help us determine the next steps.
The topic ‘[Closed] wpml mysql high cpu using’ is closed to new replies.