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 – 17:00 | 8:00 – 17:00 | 8:00 – 17:00 | 8:00 – 17:00 | 8:00 – 17:00 | - |
- | - | - | - | - | - | - |
Supporter timezone: Europe/Madrid (GMT+02:00)
Tagged: Performance
This topic contains 9 replies, has 3 voices.
Last updated by Paola Mendiburu 6 days, 10 hours ago.
Assisted by: Paola Mendiburu.
Author | Posts |
---|---|
October 1, 2025 at 8:37 am | |
jemalG |
Background of the issue: Symptoms: Questions: |
October 1, 2025 at 9:54 am #17447970 | |
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Please do the database optimization I show in the video. If the problem persists, please add my ip so I can access your site in order to investigate the issue. |
October 1, 2025 at 9:54 am #17447971 | |
jemalG |
If I do this optmized database it causes error 503, as I already mentioned |
October 1, 2025 at 9:55 am #17447974 | |
jemalG |
I add you IP |
October 2, 2025 at 7:33 am #17450668 | |
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Thank you. Please check the error logs that you are getting from the server. |
October 3, 2025 at 9:00 am #17453910 | |
jemalG |
Dear Paola, Thank you for your help. Error displayed with: ================================ Notice: La funzione is_page è stata richiamata in maniera scorretta. I tag condizionali di una query non funzionano prima che la query sia stata eseguita. Prima dell'esecuzione restituiscono sempre il valore False. Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 3.1.0.) in /var/www/webroot/ROOT/wp-includes/functions.php on line 6121 Notice: La funzione is_page è stata richiamata in maniera scorretta. I tag condizionali di una query non funzionano prima che la query sia stata eseguita. Prima dell'esecuzione restituiscono sempre il valore False. Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 3.1.0.) in /var/www/webroot/ROOT/wp-includes/functions.php on line 6121 Notice: La funzione is_page è stata richiamata in maniera scorretta. I tag condizionali di una query non funzionano prima che la query sia stata eseguita. Prima dell'esecuzione restituiscono sempre il valore False. Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 3.1.0.) in /var/www/webroot/ROOT/wp-includes/functions.php on line 6121 Notice: La funzione is_search è stata richiamata in maniera scorretta. I tag condizionali di una query non funzionano prima che la query sia stata eseguita. Prima dell'esecuzione restituiscono sempre il valore False. Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 3.1.0.) in /var/www/webroot/ROOT/wp-includes/functions.php on line 6121 |
October 4, 2025 at 9:16 am #17455736 | |
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Thank you very much for the details. Before proceeding, please make sure to create a full backup of your site. Then follow these steps: After doing this, please let me know if the issue is resolved. |
October 8, 2025 at 6:06 am #17465781 | |
jemalG |
It didn't work. We can't figure out what causes 503, |
October 8, 2025 at 6:32 am #17465822 | |
jemalG |
This is a follow-up regarding my ticket about the frequent 503 errors and server crashes. We've had another crash last night, and after a detailed analysis of our server's access.log, we have successfully identified the specific cause. We wanted to share this important finding with you. The Root Cause: The crash, which included a 100% RAM spike, was triggered by a massive and simultaneous crawl from multiple search engine bots (Googlebot, Bingbot, SemrushBot, Bytespider, Amazonbot, etc.) at approximately 2:00 AM. Crucially, these bots were not hitting simple pages. They were aggressively crawling our multilingual WooCommerce shop archives using complex, multi-parameter filtered URLs (e.g., ...?filter_color=...&filter_product_brand=...). We believe this combination of: Heavy database queries from WooCommerce filtering. The added complexity of WPML's language layer on each query. The high volume of simultaneous requests from many different bots. ...created a "perfect storm" that overwhelmed our database, caused it to lock up, and led to the cascade failure resulting in the 503 errors. The issue was not a wp-cron job, as one might expect at that time of night. Solution We Have Implemented: As an immediate and critical solution, we have used our SEO plugin (SEOPress PRO) to deploy a virtual robots.txt file that explicitly disallows all bots from crawling these problematic URLs. We have added the following rules: User-agent: * Our Questions for You: First, we wanted to share this finding, as it might be helpful for other users with complex, multilingual WooCommerce sites. Based on your experience, do you have any other best-practice recommendations for handling bot traffic on filtered archives in a multilingual setup? Are there any specific WPML settings related to query optimization, filtering, or URL parameters that we should review to help mitigate this kind of server load? Thank you for your time and any further insights you can provide. |
October 9, 2025 at 9:20 am #17469982 | |
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Hello! Thank you again for all the information and the steps you’ve taken so far. Just to clarify — the robots.txt rules are mainly a preventive measure to stop bots from overloading the database with filtered URLs. Please note that you should not include /wp-json/ in your robots.txt file. Blocking it can cause problems with indexing or some plugin features. Could you also let me know what caching method or plugin you are currently using? Finally, I tried to access your wp-admin, but I get this message: Could you please whitelist my IP so I can check your configuration directly? |