What does errno 46 (ENOLCK) mean?

 
Could be also:
ConstantTypeOS
KERN_NOT_SUPPORTEDKern returnMac
ippStsNoAntialiasingIntel Ipp StatusAny
EL3HLTerrnoLinux
EPFNOSUPPORTerrnoMac
DATA_BUS_ERRORBugCheck CodeWindows
Previous Next
EPFNOSUPPORT EL3RST

ENOLCK

Record-lock table exhaustion

On Solaris, ENOLCK is errno value 46. The base message is No record locks available., but the useful diagnostic context is narrower than the short message: Solaris could not allocate another record-lock entry.

Use the Solaris-specific errno table first, then compare with POSIX only for portable behavior. Some Solaris values share names with other UNIX systems but have different numbers or more specific historical meanings.

What to check

  • Check fcntl record-lock users and whether locks are leaked across long-lived processes.
  • Look at per-process and system resource controls before assuming filesystem corruption.
  • A retry can succeed only after other locks are released.

References


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