October 20, 2017 at 3:24 am #37992
We recently activated this plugin on a site that gets a fair amount of traffic, but are now having problems with server load due to many calls to /wp-admin/admin-ajax.php.
We reached out to our hosting provider, who sent us the following:
This install has made about 143929 calls to the /wp-admin/admin-ajax.php file. The action that is making that call so many times is adrotate_impression which is coming from the adrotate-pro plugin. In about oue minute of monitoring the actions coming in to admin ajax there have been about 200 calls to the adrotate_impression action.
Additionally, when accessing the site to edit pages, the following error continues to appear in a dialogue box at the top of the page:
DataTables warning: table id=user-list – Ajax error. For more information about this error, please see
We would like to continue to use this plugin, but the error is affecting our whole server, so we have had to deactivate it for now.
For reference, the plugin was set up with only one group of ads, which ran on the homepage. The ads were dynamic, changing every 10 seconds, and counted impressions for every cycle of ads.
Let me know what feedback you have! Thanks.October 20, 2017 at 9:30 pm #38016
Seems like not all those calls are from AdRotate (pro) 🙂
AdRotate (Pro) has no table user-list, nor does it use such a table.
Anyway, to lessen calls like that, don’t use dynamic groups (or less of them).
In recent versions of AdRotate (Pro) the admin-ajax stuff has been improved to work more efficiently. So also make sure you’re up-to-date.October 24, 2017 at 2:32 am #38091
Thanks for the reply!
I can confirm that we are using the most updated version of Ad Rotate Pro – 4.9.1. It seems like the second issue with the user-list table is unrelated, that’s fine.
We only have one Dynamic group on the site, on the homepage.
It looks like the issue is coming from the adrotate_impression action. Would this be resolved by tracking analytics in a different way, say through Google Analytics?
If not, is there any way to continue to use Dynamic groups with this plugin without resulting in this error?
Thanks in advance!October 24, 2017 at 1:14 pm #38108
I have had the same problem. I love the program and the function but when I launched it on our new site, and new hosting, it maxed out my cpu usage within a day and caused me site to be locked out. Is there any solution out there to fix this?October 24, 2017 at 7:59 pm #38127
Collecting stats externally, with Google or Piwik, will remove the call entirely.
Most hosts have no issue with the admin-ajax stuff though. So the problem may just be with weak/cheap hosting.
Many shared hosting “solutions” are not up to spec for larger plugins like AdRotate (Pro), same as that WooCommerce has a higher memory requirement for larger/busier shops.November 1, 2017 at 6:24 am #38588
One more question on this topic…
Google Analytics stats do not track impressions the same way the Ad Rotate stats do. What do you recommend in order to track impressions without the admin-ajax.php call?
Thanks in advance!November 10, 2017 at 11:04 am #39155
Different systems, different algorithms.
If Google Analytics is not to your liking you can also use Piwik Analytics.
The topic ‘Many calls to admin-ajax.php causing high server load’ is closed to new replies.