• Resolved Moussaab

    (@moussaab)


    Hello,

    Siteground has blocked my website because of the high CPU usage.After investigation, the source of the problem is Translatepress :

    83.181.72.147 baltica.shop - [12/Mar/2022:06:06:41 +0000] "POST /wp-admin/admin-ajax.php HTTP/2.0" 200 728 "https://baltica.shop/lt/produktas/self-adhesive-leather-repair-patches/?fbclid=IwAR10Wa40QECmuOKwTWtnBR--m6Qd9FkTKcY7u5B4-rwH-9V5ZlB0wayMy4k" "Mozilla/5.0 (Linux; Android 10; EML-L29 Build/HUAWEIEML-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/354.0.0.22.110;]" | TLSv1.3 | 1.023 1.023 1.023 - 0 NC:000000 UP:-DT
    83.181.72.147 baltica.shop - [12/Mar/2022:06:06:41 +0000] "POST /wp-admin/admin-ajax.php HTTP/2.0" 200 728 "https://baltica.shop/lt/produktas/self-adhesive-leather-repair-patches/?fbclid=IwAR10Wa40QECmuOKwTWtnBR--m6Qd9FkTKcY7u5B4-rwH-9V5ZlB0wayMy4k" "Mozilla/5.0 (Linux; Android 10; EML-L29 Build/HUAWEIEML-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/354.0.0.22.110;]" | TLSv1.3 | 1.027 1.027 1.042 - 0 NC:000000 UP:-DT
    83.181.72.147 baltica.shop - [12/Mar/2022:06:06:41 +0000] "POST /wp-content/plugins/translatepress-multilingual/includes/trp-ajax.php HTTP/2.0" 200 2 "https://baltica.shop/lt/produktas/self-adhesive-leather-repair-patches/?fbclid=IwAR10Wa40QECmuOKwTWtnBR--m6Qd9FkTKcY7u5B4-rwH-9V5ZlB0wayMy4k" "Mozilla/5.0 (Linux; Android 10; EML-L29 Build/HUAWEIEML-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/354.0.0.22.110;]" | TLSv1.3 | 0.058 0.058 0.110 - 0 NC:000000 UP:-DT

    and the website is spawning multiple trp-ajax.php and admin-ajax.php script executions exceeding the CPU quota allowed by SG.

    this is the second time this happens, do you know what could be the error?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Dragos

    (@dragosvrejiu)

    Hello there,

    The issue can be caused by a repeated detection of the same front-end string displayed using JavaScript. In this case you should notice numerous trp-ajax.php calls (20+) in the browser console under Network tab. To solve this, identify the html node that contains that overdetected text and use TP Advanced Settings option Exclude from dynamic translation to input the JS/CSS selector for that node.

    Another approach to the same issue would be to install this plugin which reduces the number of allowed detection of the same dynamic string to a lower number: https://translatepress.com/download/1151694/

    Best regards,

    Thread Starter Moussaab

    (@moussaab)

    Hi @dragosvrejiu and thanks for your reply.

    How can I identify that html node?

    Thread Starter Moussaab

    (@moussaab)

    Hi @dragosvrejiu

    Following up on my last message.

    Thanks

    Hi @moussaab I’m sorry to intrude, but I have the same problem. have you figured out how to fix it?

    @miladyli Same issue here

    • This reply was modified 2 years, 5 months ago by WooBundles.

    hi

    • This reply was modified 2 years, 4 months ago by nikketrikke.
    Dragos

    (@dragosvrejiu)

    Hello,

    Apologies for such a delay in replying!

    I will be closing this ticket but please open a new one in case the issue persists.

    Best regards,

    Did anyone solve this problem? We already had several strikes from hosting company and had to buy bigger hosting plan (twice powerful than before WPML)… but CPU load is very high during page\product translation… catastrophically high! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘High CPU usage because of trp-ajax.php and admin-ajax.php’ is closed to new replies.