• thegreatestbutter

    (@thegreatestbutter)


    I am having an issue where it appears as though WP Super Cache’s garbage collection crons are running successfully, but expired content is not actually being removed, and the number of expired items just keeps growing.

    Our setup:
    WordPress 4.9.9 multisite
    nginx 1.8
    php 7.0

    Plugin settings:
    cache timeout 1800 seconds
    garbage collection set to timer on 600 seconds
    preloading disabled
    mode = simple
    cache rebuild = yes
    304 not modified = yes
    extra homepage checks = yes

    I see the crons wp_cache_gc and wp_cache_gc_watcher scheduling and queuing up using the Advanced Cron Manager plugin, however the number of expired pages never seems to decrease. However, when I manually execute the wp_cache_gc cron, the plugin seems to garbage collect correctly, though not 100% cleanly (folders will remain, but they are empty). Any ideas of things I should try? This is a large site (25k posts) that is fairly busy so I don’t want items stacking up and not deleting. Happy to provide logs/additional info.

Viewing 1 replies (of 1 total)
  • Plugin Author Donncha O Caoimh (a11n)

    (@donncha)

    Did you enable the debug log and run the garbage collection? Did it show that it didn’t run for any particular reason?

    Do you have any problems with scheduled posts? Does the cron system work ok?

Viewing 1 replies (of 1 total)
  • The topic ‘Garbage Collection not Clearing Expired Pages’ is closed to new replies.