> > > What's a good rough formula for setting the cache size in > > > the CF administrator? We've got a server with 1 gig of RAM, > > > but the cache is only set to 2048 kb.... > > > > In CF 5, the typical "best practices" recommendation is to > > find the total file size of all .cfm files you want to cache > > (typically, all that'll be run by that server) and multiply > > by 3-5. Usually, memory isn't much of an issue, so I tend to > > multiply by five and round up. > > The answer is just a command-line away. > > find /opt/coldfusionmx/wwwroot -name "*.cf" | wc -l
Wouldn't I want to find the number of bytes, rather than the number of lines? (wc -c) Keep in mind that I'm a dumb Windows guy, so I could be wrong. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

