/wp-json/rankmath/v1/updateMeta?_locale=user Creating too many requests

#699335
  • Resolved Max Müller
    Rank Math free

    Hi there,

    I have a problem which is whenever I log into my WordPress backend and want to edit my article, my server CPU usage rises to 700 %.

    I checked my access log and among other things, I found that there are many of the same POST requests coming via the rankmath plugin – I think.

    It looks like this: “POST /wp-json/rankmath/v1/updateMeta?_locale=user HTTP/2.0” I will post the full request in the Sensitive Data section.

    This request sometimes comes 10+ times per second, at other times it’s once per second but for 30 seconds.

    Is there any way to limit the amount of requests done, and maybe tell the plugin to wait 30 seconds for a response before creating another request?

    Thank you so much in advance and best regards,
    Max

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    I’m sorry to hear about the issue you’re facing with the Rank Math plugin causing a high server CPU usage. It seems like there might be an issue with the plugin creating too many requests, leading to the high CPU usage.

    The behavior you’re describing could be due to a conflict with another plugin or theme, or it could be related to the REST API endpoint used by Rank Math. To address this, we can start by checking if the REST route used by Rank Math is being blocked by any security plugins or firewall on your website or hosting.

    To do this, please check the following REST route in your browser:

    https://rankmath.com/kb/settings-not-saved/

    Replace “your-domain.com” with your actual domain name. If you see a response indicating that your access has been denied by a firewall, then it’s likely that your site’s firewall is causing the issue. You can find some solutions to unblock Rank Math from your firewall here.

    If you’re unable to resolve the issue using these steps, please provide us with the full request details from the access log in the Sensitive Data section, and we’ll be happy to investigate further.

    Best regards.

    Sources:
    Why Rank Math Settings Are Not Getting Saved? » Rank Math
    Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
    How to Fix ‘Automatic Update is Unavailable for this Plugin’ Error in Rank Math » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    How to Enable Headless CMS Support in Rank Math? » Rank Math

    Thanks for the automated response, but do you mean to replace “rankmath.com” with my URL?

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue.

    Please follow these steps for initial troubleshopoting:

    • First, please install the Query Monitor plugin on your website. This plugin will help us identify any queries related to Rank Math that might be slowing down your dashboard. Once you install it, please go to your dashboard and look for the Query Monitor icon on the top bar. Click on it and take a screenshot for us. You can use this tool to upload the screenshot and share the link with us.
    • Second, please check the PHP values of your site by going to WordPress dashboard > Tools > Site Health > Info tab > Server. These values affect the performance of your site and they should be set according to the following recommendations:
      PHP Memory Limit: 512M
      Max input time: 150
      PHP time limit: 120
      PHP max input variables: 1000

      If any of these values are lower than the recommended ones, please contact your hosting provider and ask them to increase them for you.

    • We hope this helps. Please let us know if you have further questions or concerns.

      Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Thank you for your reply Ike. I’ll send you the screenshot in the sensitive data section – I hope it’s the correct screenshot. The values are all higher than you said they should be, so that shouldn’t be the issue.

    Thank you in advance for your help.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hey guys, I solved the problem! I deleted a plugin called “Kadence blocks” which already improved the situation a lot. Then I deleted WooCommerce and it’s very fast again now. Thanks for offering to help 🙂

    Hello,

    We are glad to hear that this issue has been resolved. Thank you for letting us know. This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.

    We appreciate your patience and cooperation throughout this process.

    Thank you for choosing Rank Math.

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

The ticket ‘/wp-json/rankmath/v1/updateMeta?_locale=user Creating too many requests’ is closed to new replies.