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.

Tagged: 

This topic contains 37 replies, has 4 voices.

Last updated by Itamar 6 months, 3 weeks ago.

Assigned support staff: Itamar.

Author Posts
December 20, 2019 at 1:39 pm #5170811

davidN-51

Our development site has been suffering from massive CPU spikes, which have led to 500 server errors and our IP being blocked by our hosting (the spikes represent a flood attack, triggering the automatic hosting response of blocking our IP).

The wc-ajax=get_refreshed_fragments (WooCommerce script) is being triggered an abnormal amount of times when the front-end of the homepage is refreshed. This is what is causing us to max out our CPU seconds on the server. I have deactivated plugins and have found the plugin which is causing this and how to replicate the problem. This issue is caused by the WooCommerce Multilingual plugin (and it is not theme related as have tested that).

To reproduce this issue it is very easy. When WooCommerce Multilingual is activated, I open up 3 new tabs with my homepage. Each homepage I set to a different language (in my case 3 languages). Once the third language version of the home page is open, my CPU seconds go through the roof.

When I check my raw log files on the server, I see it is fooded with the following WC script: wc-ajax=get_refreshed_fragments. Below I have pasted a small example of the log file contents. Can I please ask you to escalate this to your developers ASAP. It is a major issue. Thank you:

xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:50 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:50 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:50 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:51 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:52 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1011 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1034 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:53 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /de/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1030 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:55 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 500 1862 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /fr/?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1046 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"
xx.xxxx.xxx.x - - [20/Dec/2019:14:18:54 +0100] "POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 1014 "hidden link" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0"

December 20, 2019 at 3:11 pm #5171487

davidN-51

Hello,

Is it possible someone can still reply to this today? Tomorrow I am heading off on holiday so ideally would like to send you some credentials for a staging site, if you require it.

Many thanks

December 21, 2019 at 9:49 am #5174907

davidN-51

I have provided you now access to a staging site and FTP details. Please follow my instructions and you will see there is a very serious issue with the WooCommerce Multilingual plugin which has the ability to easily take any website offline (which does not have a dedicated server) due to massive CPU seconds usage.

December 22, 2019 at 9:53 pm #5180361

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

I've followed your instruction but I cannot see the errors that you are describing. I've checked the debug.log in the /wp-content/ folder and all I can see is that the last errors were registered on the 20th of December. Please see the attached screenshot.

How can I see the problem on your site?

Regards,
Itamar.

December 23, 2019 at 9:54 am #5183367

davidN-51

Hello Itamar,

Apologies if I did not explain myself very well. You will not see this problem in the PHP error log or the WP debug file. This problem you can only see server side. I can see exactly when you tested this last night, as just after 10pm (Berlin time) there was a very big spike in CPU seconds on our shared server. See image attached.

This is a major issue - we cannot get our site live until a fix is found. As I have said, I have spent time and tracked this to the WooCommerce Multilingual plugin. This issue has the potential to take down a shared server, if several customers decide to open multiple windows on the site in each of the different languages.

December 24, 2019 at 12:26 pm #5189579

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the extra details.

This issue might be related to the specific configuration of your WordPress installation. And it also depends on the server that you are using. You can read about it here.
https://wpml.org/faq/prevent-performance-issues-with-wpml/#running-on-a-fast-host

I have not enough information about what is causing the Massive server CPU spike.
Could you please follow the instruction at the following link and get us more information about what is causing this issue?
https://wpml.org/faq/how-to-debug-performance-problems/

Thanks,
Itamar.

December 25, 2019 at 11:42 am #5192363

davidN-51

Hello Itamar,

This I believe has nothing to do with my WP setup. I am on the latest WP version and have no special configuration. Also I have a very good hosting account from a reputable WP hosting company (Siteground) so again you can count this out. The issue is in my opinion is definitely due to the WPML plugin.

I have done what you have said and can see the following slow DB queries from WPML (none of the below appear in 2nd or 3rd tab):

WPML_Element_Translation->maybe_populate_cache() - 0.6ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.5ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.6ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 1.1ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.7ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.6ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 1.1ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.7ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 1.6ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.8ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 0.6ms / Does not appear in Plugin DB Queries

WPML_Element_Translation->maybe_populate_cache() - 1.4ms / Does not appear in Plugin DB Queries

Here are the contents of the first tab in the pastebin. I have not done the other 2 tabs as they are empty: https://pastebin.com/LcPWwuRY

As I said, this problem really manifests itself when you open the home page in each of the 3 languages. Hopefully you have enough to recreate this your end, and to move this ASAP to one of your top tier developers.

Thank you

December 26, 2019 at 10:50 am #5195523

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi and thanks for trying my suggestions and sharing with me the debug report.

I'm consulting our second tier supporters regarding this issue.

Meanwhile, can you please try the following?

1. Go to WPML -> Support -> Troubleshooting (link).

2. Scroll to the bottom of the page and look for the 'Show custom MO Files Pre-generation dialog box' button and press it.

3. Once on the pop-up window shows press the 'Generate .mo files' button and wait for the process to finish.

4. Check if the problem persists.

Thanks,
Itamar.

December 26, 2019 at 11:36 am #5195731

davidN-51

Hello Itamar,

Thank you for your reply. No your suggestion does not work. Please note this has nothing to do with the MO files. It is to do with a conflict whereby the Multilingual plugin excessively calls the wc-ajax=get_refreshed_fragments script when there are items in the basket and more than one browser open in a different language. Below is the line in the server raw log files I have just copied which is flooding the server.

"POST /?wc-ajax=get_refreshed_fragments HTTP/1.0" 200 3270 "hidden link" "Mozilla/5.0

This also has nothing to do with any specific page element on my site. It occurs when there are items in the basket, so can affect any page. The bug appears to be that your plugin repeatedly calls the wc-ajax=get_refreshed_fragments script when (1) there are items in the cart and (2) you have more than one browser open in a different language.

Of course this specific WC ajax script should be called maximum once or twice with each page load (not hundreds of times). As it is a very memory intensive script, you can see how dangerous this bug is.

Thanks

December 26, 2019 at 1:12 pm #5195983

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the extra details.

I've sent it to our second tier supporters and I'm still waiting for their reply.

Meanwhile, if it is possible, please check if the issue persists in a minimal environment.
Check if the problem persists when the theme is switched to a default WordPress theme like TwentyNineteen (for example). And all the third-part plugins are deactivated except WPML and its add-ons and WooCommerce itself (without any of its add-ons). Then please check if the problem persists. If it does not persist so start by activating the plugins one by one and check when the problem comes back, then report to me which was the culprit plugin.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****


*** If your site is a live site you might want first to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***

On my side, I'm also trying to see if I can replicate this problem.

Thanks,
Itamar.

December 26, 2019 at 1:38 pm #5196125

davidN-51

Hello Itamar,

As I explained to you in the beginning, I already did that. I have localised the problem to the WooCommerce Multilingual plugin. It is also not an issue with our present theme as this issue is still there when switching to a generic WordPress theme.

Please advise your dev that they cannot normally see this issue in the WP debug files or the PHP error log. It is server side where you see the issue, in the server log files. So they should be checking their server log files for the occurrence of the WC ajax script being called and for their CPU seconds. Maybe they have more tools then I do in any case to check this issue locally.

BR

December 28, 2019 at 1:42 am #5202421

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

I've debugged this issue for a long time and found out that the problem can also be seen in the browser's console. Please see the attached screenshot.
This is actually what is being written to the server's log.
Can you please confirm that you also see the many occurrences of the wc-ajax=get_refreshed_fragments in the browser's console?

Thanks,
Itamar.

December 28, 2019 at 9:21 am #5203967

davidN-51

Hi Itamar,

Thank you for your continued work. Yes I can confirm many occurrences of the wc-ajax=get_refreshed_fragments script in the browser's console (as soon as I open up a second browser tab in a new language). So there you can see the issue without checking your server log files. Hopefully this helps you to find out why this is happening.

Thanks
David

December 30, 2019 at 10:46 am #5210405

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, David.

I investigated further regarding this issue and found out the following. This issue is known to us and was already reported and escalated before. At the following links, you can find a reference to this issue in other forum tickets (one of them I handle.)
https://wpml.org/forums/topic/infinite-loop-when-two-tabs-have-different-languages/
https://wpml.org/forums/topic/infinite-request-loops-when-two-tabs-are-open-with-different-languages/#post-4317785
Our WooCommerce Multilingual developer concluded that this issue comes from the fact that the different tabs in different languages on the same browser that are opened by one specific user causing the CART session checksum is recalculated. Our developer concluded that this is expected, and we have nothing to do about it from our side.

Your concern was that your website would crash because of this issue due to massive CPU seconds usage. Regarding this, I would like to add the following.

A. You will be able to notice that the ?wc-ajax=get_refreshed_fragments requests will stop at a certain point with a status of 'Canceled'. Please see the attached screenshot. So it is not going to fill the error log of your file too much.

B. The chances that a few of your site's users will open a few tabs of your website in different languages at the same time and thus will trigger massive writing of those error messages to the error log is very low.

I hope that you can agree with me on this issue.

Please let me know if you have any further questions regarding this issue or mark this ticket as resolved.

Regards,
Itamar.

December 31, 2019 at 9:22 am #5215219

davidN-51

Hello Itamar,

Thank you for your reply but it is difficult for me to accept this as a final solution - that you can do nothing about what I would class as a bug your end. It is rather a cop out for a problem your end.

Let me explain 2 things to you, which is why I would ask your developers to put their heads together to try fix this problem, rather than brushing it under the carpet:

1. It is very possible that a customer will open several browsers, especially when opening any "shipping", "T&Cs", "Returns" pages which always open in a new browser window. There is always then a possibility some users will switch languages of these pages, to check whether they get better shipping deals or prices in another language. We sell to countries like Switzerland where many people speak both German, French and English. It just takes one person in a month to do this in order to cause us serious issues (see below).

2. Our hosting uses CPU seconds to gauge account limits. This "bug" causes a massive surge in our account CPU seconds, which can use up our total allotted memory for a whole month in a matter of minutes.

So you can see, it is not a satisfactory answer to explain that we just have to "live with it". We are running a professional e-commerce website, not a family blog. In paying for your services as a means to translate pages on our website, we expect this to be a professional solution which does not have any possibility to potentially collapse our hosting environment.