>If you can, try increasing your trusted cache size first Mmmm - we don't use trusted cache as I find it a pain in the.... We have too many changes to employ that. We do have template caching. Now, I had this set to 200 files, which I think is more than the number of cfm / cfc files that we have. But does it cache the cfm files in cfmx, or does it cache the class files? Since it creates a class file for each function we have 313 class files so the cache would not be big enough. I've raised it to 400 files. Thanks.
>I'm guessing from the description that you're using named >locks around file access There is just so much file activity going on that I didn't want any contention. So we have a named exclusive lock called "cffilelock" used whenever we want to do anything to a file. Timeout is 5 secs and we're getting no 'timeouts waiting for file lock'. I have managed to get authority to get the interface changed, but we have to live with it for a while yet. >application scope locking We have only one module - ever - that updates app scope variables. While it's working it takes an exclusive app lock. In app.cfm every other thread does a read only lock before using any app scope variables. This seems to work pretty well. On session variables we take a session scope lock whenever these are written. I can't think of anywhere in the code that takes a long lock (more than a few cfset's or cfparam's), but I'll look. Since we almost always set several variables at once I felt that a scope lock was better but I'll have a look at being more specific where possible. Neat idea. Many thanks Alan Ford ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

