Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I 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.

    Here’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

    Apparently 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’

    https://core.trac.www.ads-software.com/ticket/33463

    I found these too after installing your plugin. I have literally many dozen of these:

    hook – 1441044271
    schedule – single
    next execution – on next page refresh

    The 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 schedules

    These 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 Daily

    wpo 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.

    I 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!

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