Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28070

Binary File Upload copying uploaded files to /tmp without cleanup

    Details

      Description

      Files starting with eZ_REST_BinaryFile are created when uploading a binary (e.g. ezimage field type).

      Those amount of files keeps growing and taking up huge amounts of storage.

      Especially on Platform.sh this directory is not cleaned when deploying a new version. The files have to be removed manually at the moment.

      As soon as the disk is full, the system is no longer usable (binary upload, sessions, etc).

      PS:
      The files are created twice. The upload of one image created those two files in my test:

      -rw-------  1 web  web  374148 Oct 13 12:05 eZ_REST_BinaryFileWCe910
      -rw-------  1 web  web  374148 Oct 13 12:05 eZ_REST_BinaryFilevnXZPt
      

        Activity

        Show
        Adam Wójs added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2260
        Show
        Adam Wójs added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/551677d9308b874c50fff9f912a54604bb095c2d

          People

          • Assignee:
            Unassigned
            Reporter:
            Steve Konrad
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: