CPU requests to admin-ajax script

Home Forums AdRotate for WordPress General Support CPU requests to admin-ajax script

  • #162245

    John Brice
    Badges:

    Hi, thanks for the great plugin. What plugin setting, cache setting or code can help us address this issue highlighted by our host, causing too heavy of a processing load? They noted: ‘I reviewed the case and the main reason for the high CPU usage is the “AdRotate Professional” plugin. It generates large number of POST requests towards the admin-ajax.php script – they are triggered even when you are not doing anything and only leave the page open.'”

    Thanks for your answer o pointing us in the ight direction with any articles already on this.

    #162248

    Arnan de Gans
    Badges:

    That sounds like something WP Engine would say – Vague and inconclusive.

    Anyway – 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.

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

You must be logged in to reply to this topic.

You may be interested in