Set the file descriptor limit and the maximum user processes. The domain service processes can use a large number of files. To prevent errors that result from the large number of files and processes, you can change system settings with the limit command if you use a C shell, or the
ulimit
command if you use a Bash shell.
List operating system settings
To get a list of the operating system settings, including the file descriptor limit, run the following command:
With C shell, run
limit
With Bash shell, run
ulimit -a
Set the file descriptor limit
Set the file descriptor limit per process to 16,000 or higher. The recommended limit is 32,000 file descriptors per process.
To change system settings, run the
limit
or
ulimit
command with the pertinent flag and value. For example, to set the file descriptor limit, run one of the following commands:
With C shell, run
limit -h filesize <value>
With Bash shell, run
ulimit -n <value>
Set max user processes
The domain uses a large number of user processes. Use the
ulimit -u
command to adjust the max user processes setting to a level that is high enough to account for all the processes.
To set the max user processes, run the following command: