Temporary folder full with temporary files

Created on 24 June 2024, 9 months ago

Problem/Motivation

Currently in our sites we're having issues with a lot os temporary files on temporary folder. Examples:

253M /tmp/magick-65335shsBIw99yoal
253M /tmp/magick-65335NRGCQ7oluwF9
253M /tmp/magick-53473muHYCH46ZTmV
253M /tmp/magick-53473HtZ7Skg6ch5q

The disks was full and we had other issues.
As worked around we removed them from filesystem

Proposed resolution

Garbage collector to run a cleanup on cron

I've been talking to @aspilicious about:

  1. On admin area will have a checkbox: โ€œRun garbage collector on cron to clean temporary filesโ€
  2. Unchecked by default
  3. If checked the hook_cron will remove the temporary files
  4. Remove files older than 1h

Remaining tasks

  1. Create admin area
  2. Implements hook_cron

User interface changes

N/A

API changes

N/A

Data model changes

N/A

โœจ Feature request
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ทBrazil renatog Campinas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024