Failed to acquire write lock for id: -333

Help :smiley:

Umbraco.Cms.Core.DistributedLocking.Exceptions.DistributedWriteLockTimeoutException: Failed to acquire write lock for id: -333.

Microsoft.Data.SqlClient.SqlException (0x80131904): Lock request time out period exceeded.

I’ve been trying to track this one down for a while. Since we upgraded to Umbraco 10.5.1 for our latest site, this error has been causing us severe issues and we’re about to go live so needs fixed.

As I said, we are running 10.5.1, on Azure but without any sort of load balancing. When the error happens there is sometimes a developer doing things on localhost:port but not today, no one is working on the site and we are still getting the error.

appsettings:

"MainDomLock": "FileSystemMainDomLock",

"LocalTempStorageLocation": "EnvironmentTemp"

"LuceneDirectoryFactory": "SyncedTempFileSystemDirectoryFactory"

Is there anything I should be considering? I have another site that is on 10.3 and never has any issues with -333.

Help :frowning:


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/111951-failed-to-acquire-write-lock-for-id-333