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 |
|---|---|---|---|---|---|---|
| - | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
| - | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | - |
Supporter timezone: Europe/Zagreb (GMT+02:00)
Tagged: Large Sites, Performance
This topic contains 44 replies, has 0 voices.
Last updated by Dražen 1 month, 1 week ago.
Assisted by: Dražen.
| Author | Posts |
|---|---|
| September 22, 2025 at 6:16 am #17419928 | |
|
akakiT |
Hi Drazen, We don’t have any specific pages where the issue occurs, and I don’t think it’s related to individual URLs. To help reproduce the problem, I’m sharing a stress test Python project. You can run it on your server — please check the README.md file for instructions. hidden link ⚠️ Just a note: please do not run this against our production server (talkpal.ai). 🙂 Best regards, |
| September 22, 2025 at 6:27 am #17419941 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello Mikheil, thanks, let me share this with 2nd tier and I will get back to you if there are any further doubts or questions from our side. Regards, |
| September 23, 2025 at 2:00 pm #17425788 | |
|
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi Mikheil, I just wanted to inform you that our 2nd-tier support spent some time on this and we have the points below: - The tool you provided to us does not allow to index specific post, and it works for the whole website that takes a long time for us and it did not provide the information that could be helpfull. - 2nd tier found out that by commenting out the code below:
if( QFIP_SLT_licence::verify_wwt_domain() ) {
define( 'QFIP_APP_API_URL', '<em><u>hidden link</u></em>');
}
else {
define( 'QFIP_APP_API_URL', '<em><u>hidden link</u></em>');
}
On this plugin file: /wp-content/plugins/quick-featured-images-pro/quick-featured-images-pro.php It boosts the performance significantly. There was another point regarding WPML SEO plugin impact that is reported to the development team. Making improvements there will take time as the dev team need to work on that and make sure it will be considered as an official release. Thanks. |
| September 23, 2025 at 2:16 pm #17425891 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello Mikheil, As my colleague has already informed you, these are our findings. In addition to the issues mentioned earlier, we also noticed some performance impact. Specifically, when using Yoast SEO together with WPML SEO, there is an additional performance overhead of about 11%. This was discovered using your tool that scans and processes the sitemap generated by Yoast SEO. In particular, the overhead comes from the function: This function adds approximately 11% overhead when accessing the sitemap at: Those are all related things that we have found. You can check and confirm if that both helps your side, by disabling Yoast SEO, WPML SEO, and your SEO addon plugin / quick-featured-images-pro. I will update you when there is some news from our side, but as mentioned this may take a while. Regards, |
| September 24, 2025 at 7:21 am #17427603 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, sharing some more updates from our side: Try limiting the posts that are queried per sitemap chunk. This can be limited by: /* Limit the number of sitemap entries for Yoast SEO */
function max_entries_per_sitemap() {
return 100;
}
add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' );
as per their documentation: hidden link This will create MORE sitemaps, but the queries that are going to be done will be less expensive per sitemap chunk and in fact less CPU usage. If you prefer optimizing the sitemap instead, you can disable the feature by adding define( 'WPML_SEO_ENABLE_SITEMAP_HREFLANG', false ); in the wp-config.php file. In parallel, re-activate the HREFLANG in the HEAD. https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/#:~:text=each%20language).-,Using%20Hreflang%20Tags,-By%20default%2C%20WPML let me know how it goes. Regards, |
| September 25, 2025 at 5:33 am #17430538 | |
|
akakiT |
Can you please provide us an older version of WPML? Like 4.6 (Not 4.7 or 4.8) so we can test it? Thx! |
| September 25, 2025 at 5:43 am #17430552 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, 1) I would advise installing older version of WPML, but you can find it under downloads under changelog: - https://wpml.org/download/wpml-multilingual-cms/?section=changelog 2) Were you able to try and check our suggestion shared? Did that help? Please let us know. Regards, |
| October 2, 2025 at 5:25 am #17450513 | |
|
akakiT |
See our email to you, thx. |
| October 2, 2025 at 5:40 am #17450526 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks, yes Christopher has updated our escalated ticket and team with communication over the email. He should have already updated you also with new approach from side that we are checking and discussing. If you prefer you can continue and keep communication inside this ticket or via email. We will update you when we have somew news to share Regards, |
| October 13, 2025 at 9:45 am #17479024 | |
|
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi Mikheil, Our development team is still working on this. What was established till now was that we deployed the same site on our side, both with older and newer WPML versions, and we did not detect the performance difference. That said, the performance in both cases was not great. Till now, we have identified some cron job-related issues triggered by the Internal Link Juicer and Yoast plugins. But we are not on a stage to be able to give a definite answer. We will update you here as soon as we have more information. Thanks. |
| October 14, 2025 at 11:41 am #17483484 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi Mikheil, Our team finished checking and here’s a short summary of what we’ve found so far: - Comparing WPML 4.6.15 and 4.8.1 showed no significant difference in performance — query counts, execution time, memory usage, and total request times are nearly identical. - The main performance issues seem to come from cron jobs triggered by the Yoast SEO and Internal Link Juicer plugins. Both have custom WPML integration code and generate a high number of SQL queries during background processing. The Internal Link Juicer plugin, in particular, has more than 47,000 pending cron jobs, which are quite CPU- and memory-intensive. These background tasks are processed slowly and repeatedly run heavy database queries, which explains the CPU, memory, and disk usage spikes you observed. Two queries stand out as the most resource-heavy: - One from Yoast SEO, repeatedly running translation lookups. - One from Internal Link Juicer, loading around 770,000 rows from the icl_translations table into memory. To verify whether these cron jobs are the real source of the problem, we can offer to disable cron jobs for some time and monitoring the performance: define('DISABLE_WP_CRON', true);
If the issue disappears after disabling cron, it will confirm that these jobs are responsible for the resource spikes. In that case, we’ll send the full report with exact logs of the slow queries and details on what needs to be optimized to permanently fix the issue. Let us know please your reply. Regards, |
| October 14, 2025 at 12:48 pm #17483936 | |
|
akakiT |
We just downgraded WPML 4.6 and it took our avg. CPU usage from 2500% to 500-600%. So the WPML seems to be the issue. Not sure what to do here. |
| October 14, 2025 at 12:55 pm #17484013 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I will share your reply with our team and ask to recheck again and see if anything we have missed or that might be related to with those crons and different WPML versions. I will update when I have some news. Regards, |
| October 16, 2025 at 12:47 pm #17490354 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Just to update you — our team has investigated further and may have found the cause of the issue with the latest WPML version. We’re continuing to test and will update you soon with more details or a patched version of the plugin. Best regards, |
| October 21, 2025 at 5:30 am #17501333 | |
|
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, we have created a custom package that is available here: Please try next steps to test following related queries: 1. Concurrent UPDATE queries caused by admin notices. Install a package and find out if it solves issues with CPU spikes. If it will work out no need to test step 2. Let us know how it goes. Regards, |
The topic ‘[Closed] Severe performance regression after updating WPML — DB CPU spikes & resource usage ~2x’ is closed to new replies.
