Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If the queue daemon crashes, it can leave behind a semaphore that will block further tasks, despite restarting the daemon.
I think we should just be able to clear the semaphore when starting the queue daemon.
Comments
Comment #2
ergonlogicPresumably we'd want to run it in hosting_queued(); somewhere before the main loop.
Comment #3
colanIs there a workaround for now, some way to clear it manually?
Comment #4
ergonlogicIndeed there is:
Comment #5
helmo CreditAttribution: helmo at Initfour websolutions commentedThat's what the HOSTING_QUEUE_LOCK_TIMEOUT is for right? We have it at 1 hour.
You could create a '--force-lock' option for hosting-queued...which would probably do #4
Comment #6
colan#4 fixed the following for me on one server, but not another:
PHP Fatal error: Uncaught Error: Call to undefined function cache_get() in /var/aegir/hostmaster-7.x-3.130/includes/module.inc:754