I just found this issue by:

1. node with image field, ajax upload a image
2. close or refresh the node add page without saving
3. run cron and clear cache, but the images still existed in container
4. audit also doesn't help
5. the image is orphaned in container!

#2 Screenshot from 2012-08-16 00:01:25.png145.13 KBrogical
Members fund testing for the Drupal project. Drupal Association Learn more


rogical’s picture

seems those temporary files always failed to be removed during cron.

storage api seems has no checking on temporary files, is this missing or just a core bug that can't delete temporary files served external?

rogical’s picture

rogical’s picture

Status: Active » Closed (won't fix)

Just find the DRUPAL_MAXIMUM_TEMP_FILE_AGE too, I will see if it works in tomorrow, thanks!