Recurring error in Moodle in asynchronous task

Recurring error in Moodle in asynchronous task

by Pedro Gago -
Number of replies: 1

Hi,

Two days after upgrading from version 4.1 to version 4.5, "Tasks max fail delay" errors have started to appear with the message “Fail delay: 1 day - auth_ldap\task\asynchronous_sync_task ID = 8298”. We think it is related to the LDAP connection, but new users are being created perfectly and without error. We have also disabled (because we have read something in some forums) the “Enable asynchronous backups” option, but it hasn't solved the problem either.

Any ideas? Thanks

Average of ratings: -
In reply to Pedro Gago

Re: Recurring error in Moodle in asynchronous task

by Pedro Gago -

Hi all,

Finally we have managed to solve the problem by following the steps below:

  • set the Sync update users chunk size parameter to 1000.
  • purging all caches
  • deleting the relative records in the mdl_task_adhoc table 

Average of ratings: Useful (1)