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

"The session partition is full.": false positive

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.7, 2.5.3, 2.6
    • 2.4.8, 2.5.4, 2.6.1
    • Libraries
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • m27_MDL-43039_SessionDiskFull_False_Positive
    • Hide

      Disable file based sessions by moving to database based sessions.

      Show
      Disable file based sessions by moving to database based sessions.
    • Easy
    • Hide

      (difficulty: easy, requires server administrator access to the server)

      1. Change the PHP configuration under which your Moodle instances are running by disabling disk_free_space() e.g. by adding this line in your php.ini file:
        disable_functions = disk_free_space
      2. Double check that you've enough free disk space (some MBs) where $CFG->dataroot/sessions/ is hosted;
      3. Point your browser to the Moodle instance: no exception 1 will be thrown and you'll be able to access to its functionalities.

      1 The exception is The session partition is full. It is not possible to login at this time..

      Show
      (difficulty: easy, requires server administrator access to the server) Change the PHP configuration under which your Moodle instances are running by disabling disk_free_space() e.g. by adding this line in your php.ini file: disable_functions = disk_free_space Double check that you've enough free disk space (some MBs) where $CFG->dataroot/sessions/ is hosted; Point your browser to the Moodle instance: no exception 1 will be thrown and you'll be able to access to its functionalities. 1 The exception is The session partition is full. It is not possible to login at this time. .

    Description

      disk_free_space() returns null when the function is disabled (disable_functions = disk_free_space).

      Attachments

        Issue Links

          Activity

            People

              matteo Matteo Scaramuccia
              matteo Matteo Scaramuccia
              Petr Skoda Petr Skoda
              Damyon Wiese Damyon Wiese
              David Monllaó David Monllaó
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14