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

"The session partition is full.": false positive

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6
    • Fix Version/s: 2.4.8, 2.5.4, 2.6.1
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      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. .
    • Workaround:
      Hide

      Disable file based sessions by moving to database based sessions.

      Show
      Disable file based sessions by moving to database based sessions.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m27_MDL-43039_SessionDiskFull_False_Positive

      Description

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/Jan/14