Too many redirects for the cron job
-
One of our daily cronjobs runs the db_cleanup function, and part of that function is finding rows in the wp_options table that are too large, and deleting them. If a row is set to autoload, it cannot be bigger than 10241024 bytes *(~1MB)**. If it is NOT set to autoload, it cannot be bigger than 1024*1024*4 bytes (~4MB).
When looking directly into the autoload data the 301_redirects are at 5918061 bytes (~6MB), thus they are getting wiped with the nightly cron db_cleanup. Because of how large the autoload data is for the redirect plugin, they recommend reaching out to the developers of the Simple 301 Redirect Plugin for any advice.
Any ideas around this, we have 80000 URLs.
Thank you.
- The topic ‘Too many redirects for the cron job’ is closed to new replies.