MySQL crashed because of wp_adrotate_tracker
-
So our database grew so large that it became unresponsive. We couldn’t clean up the tables via the plugin settings nor manually using SSH.
I have finally been able to truncate the wp_adrotate_tracker table and make the site/database responsive again. My worry is that this might grow huge and cause problems again.
After 10 or so minutes of the ads being turned on again the wp_adrotate_tracker table now has 100 rows. Estimating from this, after a day it would be around 14k rows. A few days worth of data would definitely make this table large again.
I’ve read a previous thread regarding the
adrotate_clean_trackerdata()
function not being called. I’m thinking maybe this is also the case with ours. Perhaps thewp_next_scheduled
being called isn’t triggering a cronjob?The best thing I can think of is to create a custom plugin that uses transients to call
adrotate_clean_trackerdata()
every 30 minutes to ensure that the table remains small. Would calling that function that fast be advisable? I did not dig too deep into the code to know whether stats gathering would be affected byadrotate_clean_trackerdata()
, but logically it shouldn’t
- The topic ‘MySQL crashed because of wp_adrotate_tracker’ is closed to new replies.