Closed (won't fix)
Project:
File Framework
Version:
6.x-1.0-alpha5
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2010 at 21:27 UTC
Updated:
14 Feb 2012 at 21:19 UTC
There seems to be an issue with the 6.18 security fix and fileframework. The immediate issue is that files are not being deleted from the temporary directory. I haven't had time to analyze this or to determine wither this needs to be addressed in fileframework or bitcache. If anyone has experienced this issue and can provide more information, please do.
Comments
Comment #1
jvieille commentedI have this problem too:
http://drupal.org/node/891692
However, I am still in 6.17
Comment #2
jvieille commentedI suspect that this has nothing to do with the Drupal version. I have files like this that stay forever in the tmp directory :
drupal_bitcache_16TDkR and other file with a hash names
I would think about the conversion process: failure to convert a file seems to let orphaned files in the tmp directory
Not sure FF can do anything about this as it should be the responsibility of external utilities involved in the process (pdf2swf, jodconverter...).
May be just put an advice in the module doc telling that the tmp folder should be monitored and might need to be cleaned up periodically (as it happens when the server is rebooted)
Comment #3
johanneshahn commentedhi,
i think the bug is in bitcache.module near line 762 function bitcache_get_path
if u change
to:
$stream->path() -> to $stream->paththen bitcache does not create zombie drupal_bitcache_* files
try it out!
Comment #4
jvieille commentedMy tmp folder is totally empty...
May be you solved it without intent, or my system repaired itself, or something goes wrong with my server now...
I'll keep your proposed fix in mind in case the problem hits back.