Site icon EfmSoft

What does errno 37 (ENOLCK) mean?

 
Could be also:
ConstantTypeOS
KERN_TERMINATEDKern returnMac
ippStsUnknownCacheSizeIntel Ipp StatusAny
EALREADYerrnoMac
ECHRNGerrnoSolaris
NPFS_FILE_SYSTEMBugCheck CodeWindows
Previous Next
EDEADLK EALREADY

ENOLCK

How this differs from a contested lock

ENOLCK does not say that another process merely owns the byte range you requested. A normal conflict is typically reported with a busy or access-related result, or the caller waits when it used a blocking lock request. ENOLCK instead indicates that the kernel, filesystem, or remote lock service cannot provide the locking resources or state needed to create or track the lock.

This is especially important for long-running services that make many fine-grained POSIX record locks, or for applications using network filesystems where local and remote lock state must remain coordinated. Blind retries can multiply lock requests while leaving the original ownership and recovery problem unresolved.

Useful diagnostics

References


Looking for a different code? Search another status or error code.

Exit mobile version