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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Critical Critical
    • None
    • 2.0
    • Files API
    • MySQL
    • MOODLE_20_STABLE

      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.

            skodak Petr Skoda
            bhorn Brandon Horn (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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