WPEgine Reporting excessive ajax usage from Adrotate

Home Forums AdRotate for WordPress General Support WPEgine Reporting excessive ajax usage from Adrotate

  • #160106

    WPEngine is saying the site is causing excess server load. Here’s what they have to say:

    “[T]he Admin-Ajax usage is still pretty high:

    over the last two days –

    21273 /wp-admin/admin-ajax.php
    Here is the Admin-ajax usage over the last 10 minutes:

    218 [action] => adrotate_impression
    6 [action] => feed_locator
    The adrotate_impression action is being triggered by adrotate-pro as seen here

    adrotate-pro/dashboard/settings/statistics.php
    71: ” + label + “
    Clicks: ” + env.opt.values[\’serie1\’][index] + “
    Impressions: ” + env.opt.values[\’serie2\’][index] + “

    “;
    498: Name: adrotate_impression_callback
    502:function adrotate_impression_callback() {

    adrotate-pro/library/dashboard.css
    18:.adrotate_impressions { color: #F80; font-weight: normal }

    adrotate-pro/library/jquery.adrotate.dyngroup.js
    77: $.post(impression_object.ajax_url, {‘action’: ‘adrotate_impression’,’track’: tracker});

    adrotate-pro/adrotate-manage-publisher.php
    1662: $impression_timer = trim($_POST[‘adrotate_impression_timer’]);

    adrotate-pro/adrotate-pro.php
    91: add_action(‘wp_ajax_adrotate_impression’, ‘adrotate_impression_callback’);
    92: add_action(‘wp_ajax_nopriv_adrotate_impression’, ‘adrotate_impression_callback’);
    We recommend contacting the developer to see if there is a way for them to limit these calls moving forward.”

    Is there a way to fix this?

    I did just uncheck the “Admin stats” setting, and adjusted the impression timer, but it’s not clear whether this is really related or not.

    Would tracking with Google analytics or disabling tracking impact this?

#160114

Arnan de Gans
Badges:

Ah yes the standard nonsense complaint from WP engine… if they can’t handle 21273 requests (218 for AdRotate it seems) to a common function in Wordpress imagine what happens when there is a big influx of traffic 🤪

If your hosting can’t keep up with stats collection, it’s usually due to dynamic groups (which is where admin-ajax is used in AdRotate). Try to use less Dynamic groups.

Or, if that doesn’t help – Consider getting better hosting or moving stats elsewhere. If you’re considering changing webhosts I make some recommendations here – https://ajdg.solutions/recommended-products/.

You can also track your stats in Matomo or Google Analytics: https://ajdg.solutions/support/adrotate-manuals/matomo-analytics/ https://ajdg.solutions/support/adrotate-manuals/google-analytics/ Personally I prefer Matomo over Google, it’s more private and it has a much easier dashboard.

#160116

Arnan de Gans
Badges:

Moved to general support. Not a bug.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.