• Resolved macgeekgab

    (@macobserver)


    We’ve been fighting with “Missed Schedule” errors for years, and the site is plenty busy, so it’s not from a lack of traffic.

    Digging into this we narrowed down the issue: the W3TC Object Cache.

    I noticed that wp-cron.php sets a doing_cron transient. W3TC’s Object Cache has something in it about caching transients, so… I kinda figured maybe that was the issue. Disabling the Object Cache solved it. I A/B tested and that’s it, for sure.

    TL;DR: Having Object Cache enabled keeps calls to wp-cron.php from doing anything. Disabling Object Cache causes things like scheduled posts work perfectly.

    (we’re using redis, so maybe that’s part of it? I haven’t tested that. Edit: I’ve tried with both redis and memcached and it fails with both).

    • This topic was modified 5 years, 5 months ago by macgeekgab.
    • This topic was modified 5 years, 5 months ago by macgeekgab.
Viewing 16 replies (of 16 total)
  • Hi @vmarko
    First of all, thank you for taking care of this problem. I know this is a free product anyway there is more people than you expect with the same problem and this should be a good occasion to investigate togheter.

    Repliyng to you…

    1. It does not depend on the time because I left object enable for 2 hours and none of the task has been executed. (according to my Cron events plugin)

    2. Same as above. Even if in the debug I can see some specific hook has been executed, it is still pending in queue.

    3. Not very sure to had understood this sentence ??

    Please don’t give up, maybe together we can understand the problem.

    [24-Oct-2019 15:10:08 UTC] im return from line 75
    [24-Oct-2019 15:10:08 UTC] im return from line 81
    [24-Oct-2019 15:10:08 UTC] im return from line 83
    [24-Oct-2019 15:10:08 UTC] im return from line 86
    [24-Oct-2019 15:10:08 UTC] im return from line 100
    [24-Oct-2019 15:10:08 UTC] im return from line 109
    [24-Oct-2019 15:10:08 UTC] im return from line 126
    [24-Oct-2019 15:10:08 UTC] im return from line 128 action_scheduler_run_queue
    [24-Oct-2019 15:10:08 UTC] im return from line 139
    [24-Oct-2019 15:10:08 UTC] im return from line 71
    [24-Oct-2019 15:10:08 UTC] im return from line 126
    [24-Oct-2019 15:10:08 UTC] im return from line 128 nxs_querypost_event
    [24-Oct-2019 15:10:08 UTC] im return from line 139
    [24-Oct-2019 15:10:08 UTC] im return from line 71
    [24-Oct-2019 15:10:08 UTC] im return from line 126
    [24-Oct-2019 15:10:08 UTC] im return from line 128 wpdiscuz_gravatars_cache_add
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 126
    [24-Oct-2019 15:10:11 UTC] im return from line 128 newsletter_bounce_run
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 126
    [24-Oct-2019 15:10:11 UTC] im return from line 128 newsletter
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 126
    [24-Oct-2019 15:10:11 UTC] im return from line 128 advanced-ads-placement-tests-emails
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 126
    [24-Oct-2019 15:10:11 UTC] im return from line 128 jetpack_sync_full_cron
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 126
    [24-Oct-2019 15:10:11 UTC] im return from line 128 jetpack_sync_cron
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 126
    [24-Oct-2019 15:10:11 UTC] im return from line 128 wptelegram_widget_cron_pull_updates
    [24-Oct-2019 15:10:11 UTC] im return from line 139
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 148
    [24-Oct-2019 15:10:11 UTC] im return from line 71
    [24-Oct-2019 15:10:11 UTC] im return from line 152
Viewing 16 replies (of 16 total)
  • The topic ‘“Missed Schedule” and wp-cron issues with W3TC Object Cache’ is closed to new replies.