Well of course it depends on what is going on in the locked code (if you're doing a big job then it might take a while longer than 30 seconds). You should check though for deadlocks if it works "sometimes" (i.e trying to obtain this lock, which is owned by a process trying to obtain a lock you hav), if you are nesting locks, make sure you do it in the same order everywhere i.e always lock x then y, never y then x, or you are asking for trouble. Lock as little code as possible, it'll be easier to debug and faster to run.
At 02:53 AM 10/6/2001, you wrote: >What is the average amount of time used for the timeout parameter of the >cflock tag? >I use <CFLOCK scope="Session" timeout="30" type="Exclusive"> and have been >receiving 'Timed out while waiting to obtain exclusive access' errors >frequently. > >Obviously I should increase the timeout but does this indicate problems >elsewhere in my code or server settings? > >Thanks, >Dave > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com 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

