ENFILEENFILE — Too Many Open Files in System
The system-wide limit on the total number of open files has been reached.
SIGCHLD (17)A child process has terminated, stopped, or resumed.
The kernel sends SIGCHLD to a parent when a child process changes state. Used to trigger wait() and avoid zombie processes.
Install a SIGCHLD handler that calls waitpid(-1, ..., WNOHANG) in a loop. Set SIGCHLD to SIG_IGN to auto-reap children.
ENFILEThe system-wide limit on the total number of open files has been reached.
ETOOMANYREFSToo many references to a kernel object prevent the operation from completing.
ENOTEMPTYAn attempt was made to remove a directory that still contains entries.
ENOMSGNo message of the requested type is available in the message queue.
EPERMThe process does not have the required permissions to perform the requested operation.
EPROTOTYPEThe protocol type is wrong for the socket being used.