Home › Forums › Calendar Products › Events Calendar PRO › wp-cron Out of Memory
- This topic has 3 replies, 4 voices, and was last updated 7 years, 3 months ago by Matt.
-
AuthorPosts
-
January 11, 2017 at 2:27 am #1216428MattParticipant
We are running The Events Calendar Pro with a large number of events (19,000+).
Recently we have noticed that a wp-cron task spiked the CPU usage and caused the server to use a large amount of resources.What Event Calendar Pro tasks are run on cron? Can these be optimised in anyway?
Thanks,
PeteJanuary 11, 2017 at 9:11 am #1216692GeorgeParticipantHey Pete,
Thanks for reaching out.
There are number of wp-cron tasks inside of our plugins. The best way to find all of them is to search for instances of the WordPress function wp_schedule_event() within our plugin code.
When it comes to optimizing these in some way, there’s unfortunately not anything “out of the box” that our plugins would provide that would help to optimize the cron tasks. You could modify the code extensively, you could alter your site’s web hosting infrastructure to improve its performance, or you could reduce the number of events—but there’s not really anything within the plugin options or features directly that would allow for optimization of the cron tasks.
Some of the Events Calendar Pro functions that most use WP-Cron are related to recurring events, recurring events cleanup tasks, etc.
Please let me know if there are any other issues or questions I can try to help with!
— George
February 2, 2017 at 8:35 am #1228207Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘wp-cron Out of Memory’ is closed to new replies.