Actionscheduler_logs bloating
-
Hi there!
I went to the same issue I read in the forum here
https://wordpress.org/support/topic/actionscheduler_logs-is-getting-huge/
and put the following code in function.php (child theme)function adjust_action_scheduler_log_retention() { return 7 * DAY_IN_SECONDS; } add_filter('action_scheduler_retention_period', 'adjust_action_scheduler_log_retention');But this is not working for me. We have many websites where we are using Woocommerce and on all websites we are facing the problem with the table
actionscheduler_logs
This table is getting huge and huge in minutes. At the movement when I am writing here the size of the actionscheduler_logs table is more than 15GB, which is terrible and making our website slow and consuming the server resources also. When I empty this logs table it never stops and bloats again in minutes and seconds.I went through many forums and saw many people are facing the same problem with database where WooCommerce is installed. We are in the need of a serious and quick solution for this bloating table because we have almost 100+ websites and facing the same on all of them.
Below screenshots may help to understand.
Table screenshot:
https://impartial.one/screenshot/ActionScheduler_logs.jpgWoocommerce -> Status -> Action Scheduler
https://impartial.one/screenshot/Woocommerce_Status_Action-Scheduler.jpgAuto Email received from wordpress about Technical Issue:
https://impartial.one/screenshot/Site_Experiencing_Technical_Issue.pngWooCommerce -> Status
https://impartial.one/screenshot/WooCommerce-Status.pngregards,
- This topic was modified 4 years, 5 months ago by . Reason: added more screenshots
- This topic was modified 4 years, 5 months ago by . Reason: added more screenshots
- This topic was modified 4 years, 5 months ago by . Reason: added more screenshots
The page I need help with: [log in to see the link]
The topic ‘Actionscheduler_logs bloating’ is closed to new replies.