Kbase P17228: How to check the file descriptor limit on Solaris?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/07/2009 |
|
Status: Verified
GOAL:
How to check the file descriptor limit on Solaris?
GOAL:
What are the file descriptor limit on Solaris?
FACT(s) (Environment):
Sun Solaris SPARC
Sun Solaris Intel
Progress/OpenEdge Product Family
FIX:
Ulimit -n can be used first to check the soft value (user limit) of the file descriptors.
To modify the kernel values change the /etc/system values for the following:
rlim_fd_max
Description
"Hard" limit on file descriptors that a single process might have open.
To override this limit requires superuser privilege.
rlim_fd_cur
Description
"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.
You do not require superuser privilege to adjust the limit to any value less than or equal to the hard limit.
The following command will show what the kernel is set to on your system:
grep rlim_fd /etc/system