WP Bakery Buider – Admin Ajax CPU Usage when editing elements

#272816
  • Resolved Brandon
    Rank Math free

    Hi there,

    Thanks for the plugin, it comes with a lot of useful settings and integrations !

    Wordpress : v5.8.1
    Theme : Impreza v8.2.1
    Rank Math : v1.0.73

    I am facing a problem since some months now :
    – When editing a Carousel or Grid element (multiple elements inside like images or posts), the website becomes extremely slowly or offline. When looking @CPU Usage, it goes on to 100% before gradually getting down to normal values.
    – I looked at Plesk logs when I do press the edit button on the particular elements and it appears that “Access” to “POST /wp-admin/admin-ajax.php HTTP/2.0” are multiplied (like a lot of instances are created).
    – After all those access are logged, we got multiples errors : “504 on Admin-Ajax.php” and “737946#0: *182740 upstream timed out (110: Connection timed out) while reading response header from upstream”
    – Inbetween, the element editor is still loading and the website is offline/extremely slow.

    When I do deactivate Rank Math, the problem disappears.

    Things I tried :
    – Raising MAX MEMORY to 256M
    – Disabling Rank Math’s Analytics and Link Suggestions (those grids seems to create a lot of internal links for Rank Math)
    – Reduce Heartbeat activity in Backend.

    Have you ever faced this kind of problem ? How could we solve this ?

    Thanks a lot

Viewing 11 replies - 1 through 11 (of 11 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us and we regret the inconvenience caused.

    Could you please check if your website PHP values are not too low? Please get in touch with your hosting provider and ask them to set the following values.

    PHP Memory Limit: 512M
    Max input time: 150
    PHP time limit: 120
    PHP max input variables: 1000

    Once done, please see if the issue is fixed.

    If the issue persists, 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.

    Hi there,

    I already got the values set higher than default.
    It is not throwing errors anymore, but it does several access to “admin-ajax.php”, a lot more than without Rank Math.
    This leads to a slow website, nearly offline during a whole minute when editing a carousel or grid element on WP Bakery. This is a big issue.

    Thanks.

    Hello,

    Can you please install the plugin Query Monitor and look for slow queries related to Rank Math and share it with us so we can identify the cause of the slowdown and provide you a working solution?

    Looking forward to helping you with this one.

    Hello,

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

    Thank you.

    Nigel
    Rank Math business

    Hello,

    We tried to access your website but received a 500 error as shown in the screenshot: Error 500 Message

    Please check with your hosting company and let us know when the site can be accessed.

    Looking forward to helping you.

    Hi there,

    It is now available, the error seems to be caused by Rank Math.

    Thanks.

    Anas
    Rank Math business

    Hello,

    I logged in and checked the settings.

    The PHP Values are still low:
    low

    Please set the following values:

    PHP Memory Limit: 512M
    Max input time: 150

    Once done, clear the website cache and check again.

    Let us know if the issue persists.

    We are here to help you.

    Hi there,

    I got some websites on my server, if I put all of these to 512M, won’t this cause issues to performances ?
    When I do edit the carousel without Rank Math it takes about 10sec to show up. When Rank Math is on, it takes up to more than a minute and it gets my website offline.

    Thanks.

    Hello,

    I got some websites on my server, if I put all of these to 512M, won’t this cause issues to performances ?

    It wouldn’t cause any performance issues with your other website as you are giving more hardware resources to all of your websites.

    When I do edit the carousel without Rank Math it takes about 10sec to show up. When Rank Math is on, it takes up to more than a minute and it gets my website offline.

    Please try increasing the PHP values and let us know if that resolves the issue.

    If the issue persists, let us know and we will further investigate it.

    Looking forward to helping you.

    Hi,

    I did it and it seems be better but the problem is still persistant.

    Thanks.

    Hello,

    Are you running multiple websites on the same server? If that’s the case all the resources need to be shared across multiple installations and you might be exhausting the resources faster than expected.

    You could try to replicate this website on a single server on its own and with the minimum server variables, we mentioned before to see if the issue persists.

    In case this does help mitigate the situation then we can safely assume that the number of websites running on the same server is just too big to accommodate all this functionality at once.

    Looking forward to hearing back from you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘WP Bakery Buider – Admin Ajax CPU Usage when editing elements’ is closed to new replies.