Title: High CPU Usage when plugin is activated
Last modified: February 7, 2023

---

# High CPU Usage when plugin is activated

 *  [Efs](https://wordpress.org/support/users/stevendigital/)
 * (@stevendigital)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/high-cpu-usage-when-plugin-is-activated/)
 * Hello,
 * I have run some tests on a live site and setup some cron jobs to run on specific
   times and only ones or 2 times. I have noticed a high CPU usage on the server,
   when the plugin is active. Test with the plugin activated and deactivated. Is
   it possible to know why this happens?
 * The server is an apache with nginx as a proxy.
 * Best Regards

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

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [3 years, 4 months ago](https://wordpress.org/support/topic/high-cpu-usage-when-plugin-is-activated/#post-16449152)
 * WP Crontrol doesn’t affect the way that cron events are run, so to be honest 
   it’s unlikely that WP Crontrol is the cause.
    - Are you certain that there’s a strong correlation between CPU usage and this
      plugin being active? Are there cron events that were scheduled to run during
      the time the plugin wasn’t active?
    - Do you have any paused events that start to run again when the plugin is deactivated?
      See [What happens when I deactivate the WP Crontrol plugin](https://github.com/johnbillion/wp-crontrol/wiki/What-happens-when-I-deactivate-the-WP-Crontrol-plugin%3F)
      for more info.
 *  Thread Starter [Efs](https://wordpress.org/support/users/stevendigital/)
 * (@stevendigital)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/high-cpu-usage-when-plugin-is-activated/#post-16451293)
 * I will make some more test just to be sure, and to be able to provide even more
   information. Regarding your first question i have monitored this for at least
   a day. I will do this again and will report here.
 * Best Regards
 *  Thread Starter [Efs](https://wordpress.org/support/users/stevendigital/)
 * (@stevendigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/high-cpu-usage-when-plugin-is-activated/#post-16459077)
 * Hello,
 * So, i have run some more tests on the site, just to be sure. So the finds are
   below.
 * With wp-crontrol the CPU and Physical memory usage are higher when the plugin
   is active. Also, a high CPU activity is related, when I moved some scheduled 
   runs to run in another period of time and once per day. This might have affected
   the big CPU usage. Regardless that I can still see CPU usage around 60-80% when
   the plugin is active. If I deactivate the plugin, these stats drop to 40-50%.
 * I do not have any paused events currently. All I did was change the time and 
   the frequency that a cron job should start. This is an e-shop site, and I tried
   to void anything that could brake the site at all.
 * Also i would like to ask if there is any way to clear the data that the plugin
   might have stored, so that i can check again and probably make a better scheduling.
 * Let me know of your thougths. Feel free to pass me any guide or documentation.
   Still trying to learn a thing or 2 about this.

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

The topic ‘High CPU Usage when plugin is activated’ is closed to new replies.

 * ![](https://ps.w.org/wp-crontrol/assets/icon.svg?rev=3539529)
 * [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crontrol/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crontrol/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crontrol/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crontrol/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crontrol/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Efs](https://wordpress.org/support/users/stevendigital/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/high-cpu-usage-when-plugin-is-activated/#post-16459077)
 * Status: not resolved