rlim_fd_cur
Parameter
- Description
-
Defines the "soft" limit on file descriptors that a single process can have open. A process might adjust its file descriptor limit to any value up to the "hard" limit defined by
rlim_fd_max
by using the setrlimit call or by issuing thelimit
command in whatever shell it is running. You do not require superuser privilege to adjust the limit to any value less than or equal to the hard limit. - Data Type
-
Signed integer
- Default
-
256 through Oracle Solaris 11.4 SRU 26
4095 starting with Oracle Solaris 11.4 SRU 27
- Range
-
128 to
MAXINT
- Units
-
File descriptors
- Dynamic?
-
No
- Validation
-
Compared to
rlim_fd_max
. Ifrlim_fd_cur
is greater thanrlim_fd_max
,rlim_fd_cur
is reset torlim_fd_max
. - When to Change
-
When the default number of open files for a process is not enough. Increasing this value means only that it might not be necessary for a program to use
setrlimit
to increase the maximum number of file descriptors available to it. - Commitment Level
-
Unstable