Error Codes Wiki

Linux errno 11 (EAGAIN) — Resource Temporarily Unavailable

Informationalerrno

Overview

Linux errno 11 (EAGAIN) means a resource is temporarily unavailable, typically with non-blocking I/O or process limits.

Key Details

  • EAGAIN — try again later, resource temporarily busy
  • Same as EWOULDBLOCK on most Linux systems
  • Common with non-blocking sockets and pipes
  • Can also indicate process or thread limit reached

Common Causes

  • Non-blocking I/O operation with no data available
  • System process limit (ulimit -u) reached
  • Insufficient memory for fork/clone
  • Socket buffer full on non-blocking socket

Steps

  1. 1For non-blocking I/O: implement retry with poll/epoll
  2. 2Check process limits: ulimit -a
  3. 3Increase limits in /etc/security/limits.conf
  4. 4Monitor system resources: top, free -h

Tags

linuxerrnoerrno 11 eagaintroubleshootingfix

More in Errno

Frequently Asked Questions

Yes — EAGAIN means "try again later". Use poll() or select() to wait efficiently.