get/set resource limits NAME getrlimit, setrlimit, prlimit - get/set resource limits LIBRARY Standard C library ( libc , -lc ) S......an fail with the following error: ENOMEM Out of memory. Possibly, the application hit the RLIMIT_AS or RLIMIT_DATA limit described in getrlimit (2). Another reason could be that…...an fail with the following error: ENOMEM Out of memory. Possibly, the application hit the RLIMIT_AS or RLIMIT_DATA limit described in getrlimit (2). Another reason could be that…...an fail with the following error: ENOMEM Out of memory. Possibly, the application hit the RLIMIT_AS or RLIMIT_DATA limit described in getrlimit (2). Another reason could be that…...an fail with the following error: ENOMEM Out of memory. Possibly, the application hit the RLIMIT_AS or RLIMIT_DATA limit described in getrlimit (2). Another reason could be that…...an fail with the following error: ENOMEM Out of memory. Possibly, the application hit the RLIMIT_AS or RLIMIT_DATA limit described in getrlimit (2). Another reason could be that…...process. ERRORS On Linux, getdtablesize () can return any of the errors described for getrlimit (2); see VERSIONS below. ATTRIBUTES For an explanation of the terms used in this …...of threads was encountered. There are a number of limits that may trigger this error: the RLIMIT_NPROC soft resource limit (set via setrlimit (2)), which limits the number of pr…...umber of open file and message queue descriptors has been reached (see the description of RLIMIT_NOFILE in getrlimit (2)). ENAMETOOLONG name was too long. ENFILE The system-wide…...rors from various underlying calls: fopen (3), if /proc/self/maps can't be opened; and getrlimit (2), if the RLIMIT_STACK resource limit is not supported. ATTRIBUTES For an expl…...t encounters the upwardly growing heap, or it reaches a limit established by a call to setrlimit(RLIMIT_STACK, &rlim) . If the standard stack is exhausted, the kernel sends the …...medium type. EMFILE Too many open files (POSIX.1-2001). Commonly caused by exceeding the RLIMIT_NOFILE resource limit described in getrlimit (2). Can also be caused by exceeding…...e BUGS. EINTR A signal was caught; see signal (7). EINVAL nfds is negative or exceeds the RLIMIT_NOFILE resource limit (see getrlimit (2)). EINVAL The value contained within tim…...e BUGS. EINTR A signal was caught; see signal (7). EINVAL nfds is negative or exceeds the RLIMIT_NOFILE resource limit (see getrlimit (2)). EINVAL The value contained within tim…...e BUGS. EINTR A signal was caught; see signal (7). EINVAL nfds is negative or exceeds the RLIMIT_NOFILE resource limit (see getrlimit (2)). EINVAL The value contained within tim…...e BUGS. EINTR A signal was caught; see signal (7). EINVAL nfds is negative or exceeds the RLIMIT_NOFILE resource limit (see getrlimit (2)). EINVAL The value contained within tim…...append-only. EAGAIN The file has been locked, or too much memory has been locked (see setrlimit (2)). EBADF fd is not a valid file descriptor (and MAP_ANONYMOUS was not set). EE…