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.

Our next available supporter will start replying to tickets in about 0.81 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 5 months, 3 weeks ago.

Assisted by: Long Nguyen.

Author Posts
November 7, 2023 at 6:41 am #14743161

serenaW

I am trying to:

find out that the CPU consumption of my website (doubleknityarn.com.hk) is quite high during a time in the morning. Cloudways advised it may be related to the WPML CMS plugin.

Link to a page where the issue can be seen:

I expected to see:

Here is the message from Cloudways for your reference:

I found my website has consumed high CPU this morning, and Cloudways had the following replies:

"Doubleknityarn, thank you for your kind patience. I have checked this issue & I found that the server IP it self has the highest hits on the server. This may happen if there are any slow plugin or theme processes running.

Upon further investigation, I found that the plugin is generating slow requests on the application & consuming the server resources on higher end. Please find the log below:

script_filename = /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/index.php
[0x00007f1e4c216160] get_term() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/taxonomy.php:1111
[0x00007f1e4c216070] get_term_by() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-term-query-filter.php:214
[0x00007f1e4c215fc0] guess_term() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-term-query-filter.php:166
[0x00007f1e4c215eb0] adjust_taxonomies_terms_slugs() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-term-query-filter.php:107
[0x00007f1e4c215df0] get_terms_args_filter() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:2629
[0x00007f1e4c215d30] get_terms_args_filter() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/class-wp-hook.php:307
[0x00007f1e4c215c50] apply_filters() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/plugin.php:191
[0x00007f1e4c215b70] apply_filters() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/class-wp-term-query.php:407
[0x00007f1e4c215720] get_terms() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/class-wp-term-query.php:307
[0x00007f1e4c2156b0] query() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/taxonomy.php:1312
[0x00007f1e4c215580] get_terms() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/taxonomy.php:1099
[0x00007f1e4c215490] get_term_by() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:425
[0x00007f1e4c215320] wc_get_formatted_variation() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/show-single-variations-premium/inc/class-product-variation.php:459
[0x00007f1e4c215220] get_title() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/show-single-variations-premium/inc/class-product-variation.php:86
[0x00007f1e4c215130] variation_title() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/class-wp-hook.php:307
[0x00007f1e4c215050] apply_filters() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-includes/plugin.php:191
[0x00007f1e4c214f50] apply_filters() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php:313
[0x00007f1e4c214e50] generate_product_title() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php:89
[0x00007f1e4c214d80] read() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:159
[0x00007f1e4c214d10] read() /home/862016.cloudwaysapps.com/wbvvrvcuxz/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:138

*********

Before restoring the site, a better approach will be to share the slow error log with the sitepress-multilingual-cms plugin team so that they can apply fix accordingly. The last option can be to restore.

*************

Instead, I got:

high_CPU.JPG
November 9, 2023 at 2:42 am #14761913

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Serena,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

According to the log and WPML log, I suggest you try some steps below, observe the issue again and let me know if it helps:

1. Update WPML plugins, maybe all other plugins and WordPress core to the latest version. Some performance issues are fixed in the new versions of WPML. Please follow the documentation https://wpml.org/faq/install-wpml/#checking-for-updates
and read the changelog here https://wpml.org/download/wpml-multilingual-cms/?section=changelog
2. Deactivate the plugin "WooCommerce Show Single Variations".
3. Go to WPML > Languages > Disable option "Adjust IDs for multilingual functionality" and recheck everything on your site if it works properly.
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Look forward to your reply.
Thanks

The topic ‘[Closed] High CPU Consumption due to WPML Plugin Conflict’ is closed to new replies.