Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-55953

Redis session handler needs to register a shutdown function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      We had a PHP script go 504 on us and the session lock was not released. Please review the first warning in the notes section on session handlers: http://php.net/manual/en/function.session-set-save-handler.php#refsect1-function.session-set-save-handler-notes

      The Redis session handler needs to register a shutdown callback so it can always release the lock.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bushido Mark Nielsen
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              5 Vote for this issue
              Watchers:
              19 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: