Image icon indicating copy to clipboard operation
Image copied to clipboard

GarbageCollector not removing all images

Open StefanGla opened this issue 5 years ago • 0 comments

Hello,

I'm using the GarbageCollector as described: GarbageCollect::dropOldFiles($this->img_cache_dir, 30, true); where $this->img_cache_dir is my /web/image_cache directory.

The GarbageCollector deletes some files, but when I check one subfolder of /web/image_cache/0 for example, there are still older images in it:

2019-04-11+18:55:51.2625899500 ./web/image_cache/0/e/0/b/6/0e0b65c7624be7a5d48590b099c3290c9de97008.jpeg

I'm running the script as root, so there should no file access permission issues.

StefanGla avatar Jun 04 '19 11:06 StefanGla