> > Well, I found out why I was running out of disk space on my > > servers. I was saving the class files in ColdFusion MX. How > > that I have stopped saving them, can I safely delete all the > > class files in the directory > > c:\CFusionMX\wwwront\web-inf\cfclasses ? > > > > Only 5 GBs worth... > > Yeah, they're only there for efficiency reasons, primarily > with soon-after-startup situations. MM recommends leaving > that option checked for production servers, but it's not a > big deal, unless you've got a hell of a lot of templates and > functions. > > I'd probably leave it checked and just set up a cronjob > that'll go delete stuff in there periodically. maybe check > disk utilization every night and if it's greater than X, > clear some out.
If you have that many files, you're better off not having CF save them at all - it'll take CF less time to recompile them than to find the precompiled classes on the disk! We've run into this a few times because we use a CMS package that creates a stub file for each page; within large environments this translates to hundreds of thousands of files sometimes. http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=1031 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184882 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

