What does errno 11 (EAGAIN) mean?

 
Could be also:
ConstantTypeOS
ERROR_BAD_FORMATWin32 errorWindows
KERN_ALREADY_IN_SETKern returnMac
ippStsResFloorIntel Ipp StatusAny
EAGAINerrnoLinux
EDEADLKerrnoMac
EAGAINerrnoWindows
NO_EXCEPTION_HANDLING_SUPPORTBugCheck CodeWindows

EAGAIN

Temporary resource pressure or nonblocking i/o

On Solaris, EAGAIN is errno value 11. The base message is Resource temporarily unavailable, but the useful diagnostic context is narrower than the short message: a Solaris operation could not proceed immediately and should be retried after the resource becomes available.

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 whether the call is a nonblocking socket, STREAMS, file-locking, process-creation, or memory-allocation path.
  • For event loops, wait for the relevant readiness event instead of retrying in a tight loop.
  • For process or memory pressure, collect resource-control, swap, LWP, and process-table evidence before changing application logic.

References


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