High CPU when running plugin
-
Hi,
When running the plugin on my site, I saw that my server gets a very high CPU.
When analyzing the logs, I realized a few things:
* admin-ajax.php was called very frequently (less than one second apart) for the entire duration of the checks
* The calls to admin-ajax came from the plugin’s backend page.
* each call to admin-ajax takes around 1-2 seconds at my site (remember that there’s a new call to admin-ajax every less than a second)the result is that if I keep the plugin’s backend page open while it’s running, before too long, my server can’t handle the pace and CPU reaches near 100%.
Note: throttling delay time, maximum execution time and scan technique seemed to have no effect.
Thanks
https://www.ads-software.com/plugins/google-pagespeed-insights/
- The topic ‘High CPU when running plugin’ is closed to new replies.