Forum OpenACS CMS: Re: content repository physical folders keeps growing
Therefore, i've implemented a much more scalable approach based on a file-creation log that keeps track of freshly created files (per default the files created on one day). These files can be efficiently checked together with "cr_delete_scheduled_files" without putting much stress on either the file-system or the database.
The function "cr_check_orphaned_files" can still be used for cleaning up orphaned files from times before the cr-file creation log was in place (that is from the birth of OpenACS until now).
Please test on your systems as well. Note that the change requires an update of acs-tcl and a restart of nsd.
all the best for 2014!
I'm testing the new changes: after updating acs-content-repository and acs-tcl to the last version and restarting the server, pages now complain for missing variable ::acs::rootdir
I've failed to locate it in config.tcl and other packages, I think I miss some upgraded init script or something... can you give me a pointer?
I will fiddle a bit with file insertion/deletion and let you know!
Thanks a lot for this fine solution to the issue!