ColdFusion · Exception

Lock: a cflock operation timed out or hit a naming conflict

What does Lock: a cflock operation timed out or hit a naming conflict mean in ColdFusion?

A cflock request could not acquire the named lock within its timeout, or two cflock calls used the same name with incompatible scope in a way the runtime could not resolve.

Lock: a cflock operation timed out or hit a naming conflictAdobe ColdFusion · Lucee

Condition

A cflock request could not acquire the named lock within its timeout, or two cflock calls used the same name with incompatible scope in a way the runtime could not resolve.

Fix

Check for a lock being held far longer than expected, commonly because slow code, like a remote call, is running inside the locked section instead of only the critical section that actually needs protecting.

Pending source verification. Not yet checked against official documentation.

Related exception