Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11604 cron execution, review, fix and improve
  3. MDL-11661

Problem in cron with notify_login_failures() not scaling well

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9
    • 1.9
    • Authentication
    • None
    • Any
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      I think I've found the culprit of this original bug:

      the notify_login_failures() is failing (without error), causing the cron process to stop when clean-up tasks are executed! Not analised if it's due to one "excess" of records or what, but needs to be traced and fixed for sure!

      Note that some cleanup-tasks like sync_metacourses(), setnew_password_and_mail(), tag_cron(), cleanup_contexts()... are never executed in some sites due to this problem.

      I guess we can chnge current behaviour to one more robust (scaling well) alternative. Will research it this weekend.

      Call this the NOTIFY_LOGIN_FAILURES_PROBLEM.

      BTW, I've stopped those notifications in one big server to test the new implementation when ready.

      Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.