admin-ajax.php high

Home Forums Legacy Support Support queries Setup issues admin-ajax.php high

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #204382
    bdelauney
    Participant
    When using Gtmetrix action=wplms_get_signon_security is causing admin-ajax.php to take 1.79 seconds to load. Is there a way to reduce this?
    #204418
    Anshuman Sahu
    Keymaster
    The only way to fix it is by disabling the "ajax login and registration" from wp-admin -> WPLMS -> buddypress .
    #205399
    bdelauney
    Participant
    I've tried to install Heartbeat Control and reduce the call times. I'm having an issue with the plugin not enabling. I don't want it gone, but maybe not calling out every 5 to 15 seconds would reduce the load issues.
    #205506
    Ava
    Member
    Hi Please go through the link below: https://medium.com/visualmodo/how-to-reduce-admin-ajax-server-load-in-wordpress-5ba49a5a3185   If still, you have any issue further, please let us know.
    #205736
    bdelauney
    Participant
    The Heartbeat Control plugin isn't working. I don't know if it's a theme or plugin issue. I've reached out to the plugin creators, but haven't heard anything back. It doesn't save any of the rules. You set the rule up and click save and the rules disappear.
    #205877
    logan
    Member
    Hello, i understand, if it is taking approx 2 seconds to load. then we have the only option to fix this by disabling the "ajax login and registration" from wp-admin >> WPLMS >> buddypress.

    My advice would be to change the DNS server, probably try cloudflare, also check your server's nginx configuration. No amount of caching can fix the DNS issue.

    We're using WP Rocket on our site and it works fine : https://gtmetrix.com/reports/wplms.io/mJkYwnTC

    If your files are minified and still loading very slow then it is best to use a CDN server to speed up the loading process.

    #205883
    Ava
    Member
    Okay, please send the link of that plugin, only if that plugin is free, we need to set up the plugin in our localhost and will try to replicate your issue and see what we can help you with.
    #206122
    bdelauney
    Participant
    https://wordpress.org/plugins/heartbeat-control/ I'm using SiteGround as my DNS server. I also have cloudflare with railgun, Brotli, and Rocket Loader active as well as SG Optimize, and PageSpeed Ninja. But the admin-ajax.php issue is quite common see https://kinsta.com/blog/admin-ajax/ https://docs.wp-rocket.me/article/985-how-to-find-which-plugin-calls-admin-ajax-php and so on. The heartbeat control plugin is the only answer that you see besides turning the heartbeat off.
    #206126
    bdelauney
    Participant
    The plugin is the Heartbeat Control Plugin referenced in the above link at https://wordpress.org/plugins/heartbeat-control/  
    #206276
    Anshuman Sahu
    Keymaster
    thanks for sharing that but this is not related to this . this ajax call is send by wplms .
    #206286
    bdelauney
    Participant
    I'm getting confused on who is talking to who. I said the ajax calls are causing longer load times. I was told to disable it. I said that I don't want to disable it, I just don't want it calling out so much. I was sent a link on how to fix it. I said the plugin isn't working. I was asked for the plugin site. I posted it. Now there's a message that it's not related to this (whatever that means). I know the ajax call is sent from WPLMS. I want to be able set a longer time for it to make calls. Heartbeat Control plugin allows that to happen, but the plugin won't work. I don't know if that's a theme conflict or a plugin issue.  I've reached out to the plugin creator and I'm reaching out to you guys.
    #206424
    maximus
    Member
    Well slow ajax calls means that server is returning response slow . Do you have ajax login/register enabled or not ? In ajax login/register we make an ajax call to fetch the security parameter for login . If enabled then please disable it.    
    #206682
    bdelauney
    Participant
    I disabled it a day ago and action=wplms_get_signon_security is still showing up, taking 1.2 to 3 seconds to load in GTmetrix. I cleared my site cache when I disabled it.
    #206759
    Anshuman Sahu
    Keymaster
    Hi please check now , I have changed the login style from wp-admin -> appearance -> customize -> header to fix this up .
    #206975
    bdelauney
    Participant
    Can you reverse the changes that you made, because they altered some of the way the site is now laid out and I'd rather have a delay than try to fix everything else. Thanks.
Viewing 15 posts - 1 through 15 (of 16 total)
  • The topic ‘admin-ajax.php high’ is closed to new replies.