hey @giac ; all cron jobs _should_ get removed, which one was not in your case?
Thread Starter
giac
(@giac)
Don’t remember, we were using Autoptimize on several sites and all had the same issue
OK, I’ll doublecheck to code for removal of all cronned jobs & do some test-deactivations.
Did a code review and;
* there is only one scheduled job in AO 2.6; ao_cachechecker
* at code-level ao_cachechecker is properly removed when uninstalling
* it is not explicitly removed when disabling though, I’ll look into adding that -> question: did you disable, uninstall (from WordPress) or remove/ rename the plugin folder?
* but I don’t see how the leftover cronjob could cause server issue though; the cron job runs 2 times a day and when it fails (as the hook is not there) nothing happens in my tests, do you have any info (PHP errors from the errorlog) what might explain how the orphaned hook caused the CPU to spike?
Thread Starter
giac
(@giac)
Website there are not just a simple WP installation, as you know, there are several others plugins, themes, server configuration and so on, we had 10 cpu&ram and still we were going to 250-300 cpu load, the crons runs on the server side not the built in wp so it was a very complex environment, now we have 7 core nd 8 ram and all is fine, essentially we lost quite a good amount of cash as well. I can’t help you more, we didn’t inspect once all returned normal… was just wanted to eventually help someone else ending in the same situation. Ah, the plugin was regularly deactivated and uninstalled from within the admin.