brennan80
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: High CPU Load After Update to v4.3I am using nginx 1.9.4 + wordpress + mariadb + php 5.6 and was also experiencing the problem. I had several hundred wp_batch_split_terms cron jobs scheduled. This issue was causing scheduled posts to miss their schedule.
After editing taxonomy, I ran fix #1 in mu-plugins. It resulted in a very slight load increase for about 2 minutes.
I could see that it worked because the cron jobs were all gone, except for one which I assume was legitimate. Using the Debug Objects plugin or the WP Advanced Cron Manager plugin helps you see the spammed cron jobs go away.
I changed my cron_fix.php to include the one-db-call version Otto worked on. I am going to leave that in place for a bit as it seems to have zero impact on my site and I don’t want the problem to return.
Thanks so much for all your hard work and patience, @otto42.
Forum: Plugins
In reply to: [Advanced Cron Manager - debug & control] Unknown Cron Job on every refreshHere’s the fix:
Change line 4448 in taxonomy.php to:
wp_schedule_single_event( time() + MINUTE_IN_SECONDS, ‘wp_batch_split_terms’ );Then follow instructions linked below to clean cron jobs:
https://www.ads-software.com/support/topic/high-cpu-load-after-update-to-v43?replies=17#post-7330770
Forum: Plugins
In reply to: [Advanced Cron Manager - debug & control] Unknown Cron Job on every refreshApparently the issue is with WordPress 4.3. I used Debug Objects plugin to get more info on the anonymous cron jobs.
It revealed that all of the crons being spammed had an actual hook of ‘wp_batch_split_terms’
Forum: Plugins
In reply to: [Advanced Cron Manager - debug & control] Unknown Cron Job on every refreshI found these too after installing your plugin. I have literally many dozen of these:
hook – 1441044271
schedule – single
next execution – on next page refreshThe next hooks go:
1441044273
1441044332
1441044342
…–I don’t have any caching plugins installed.
–I have tried clearing the cron options in the mysql table wp_options, to make wordpress rebuild the cron schedulesThese are the cron schedules that your plugin lists in the upper right:
Cron Schedules
wpo_daily – Once Daily
wpo_weekly – Once Weekly
wpo_otherweekly – Once Every Other Week
wpo_monthly – Once Every Month
hourly – Once Hourly
twicedaily – Twice Daily
daily – Once Dailywpo is WP Optimizer plugin. I don’t think this is what’s causing the cron jobs with unknown hook.
The only other plugins I think might could be causing are AdRotate Pro, Related Posts by Taxonomy, Revision Control.
I would really like to solve this problem, as I suspect the many cron jobs with the 8-digit hooks are clogging up wp-cron and I have scheduled posts that are missing schedule. One time I tried deleting all of the strange cron jobs using your plugin, and scheduled posts worked again.
Any insight you could provide would be much appreciated.
Forum: Plugins
In reply to: [WP Power Stats] Fatal and ErrorI am also getting the error described above when I try to block out administrators’ views from being counted, or try to add my IP to the list of IPs to ignore views from.
I am using wordpress 3.9.1 on godaddy hosting (not my choice, I’m pretty sure it’s apache).
Here is the message I get:
Fatal error: Call to a member function remove_cap() on a non-object in ****/wp-content/plugins/wp-power-stats/wp-power-stats.php on line 234
I really like the user interface for this plugin and it is very lightweight. However, I need to be able to ignore administrators’ views so that I can ignore pageviews generated by site testing tools like pingdom and the godaddy p3 plugin performance tool.
Thanks!