Reputation: 93
I have a Lucee installation in which there are ~ 30 GB of documents (Word, Excel, etc.) in a directory in the web root.
It's taking Lucee about 10 minutes to start up. This effect is absent on the development server that doesn't have all the documents.
Anyone know what's going on? Is Lucee scanning for .cfm files? Is there a way to tell it to ignore the Documents directory?
Upvotes: 0
Views: 242
Reputation: 93
Problem solved. The Documents directory turned out to be a red herring. The real culprit was some authentication code containing a cfapplication call with "clientstorage = file" rather than cookies. Not sure why that ever seemed like a good idea, but it apparently caused Lucee to create 256 directories containing ~300,000 small files in WEB-INF/lucee/clientscope/.
After the Sys. Admin. deleted all that junk, switched to clientstorage = cookies, and restarted Lucee, start-up was lightning fast.
Hopefully this will help someone else one day...
Upvotes: 2