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

Deleted files are not deleted from data folder (major disk space leak)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Files API
    • Labels:
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      On a clean installation of Moodle 2, I created course with a Folder and added 3 files totaling 168 MB to it. I then deleted the Folder from the course. I measured the size of my data folder and took a screenshot of the files table in my database at 3 points:

      1. After uploading the files

      2. Immediately after deleting the files

      3. After the cron job ran at least once

      At all 3 points, my data folder was 170 MB. The labeled screenshots of the files table are attached.

      I still have the test installation and can provide access to it if necessary.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: