Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is maintenance logging a Maintenance tasks not run: could not acquire lock message?

0
Posted

Why is maintenance logging a Maintenance tasks not run: could not acquire lock message?

1

Maintenance locks tables to prevent multiple maintenance procedures from running at the same time. The ‘Maintenance tasks not run: could not acquire lock’ message means that a table is locked and maintenance will not run. It could be that maintenance really is running and a 2nd maintenance procedure was ordered which did not run because the tables were locked. In this case you should let maintenance complete and wait before calling for a further maintenance procedure to run. Two instances being called could mean that you have both auto-maintenance and a cron job for maintenance enabled. Only one will run per Operation Interval (default of 1 hour). There is high probability that you might be getting this message if you are using Auto-maintenance and it gets called many times within an Operation Interval. If you keep an eye on the openx/var/maintenance.log and never see any messages except for this locked warning, then it could be that maintenance is never able to run because the tables

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123