No Medium Found, 5.3

.hy 0 .ad l .nf

Prev, Top | Notes, Next

# Strange and Interesting System Calls
EMFILE, Too many open files

> This error occurs when a process already has the maximum number of file descriptors open.
>     open(pathname = "example", flags = O_RDONLY) failed, Too many open files
>     (24, EMFILE) because the process already has the maximum number of file
>     descriptors open (1024)
> The error message includes the limit.
>     open_max = sysconf(_SC_OPEN_MAX);