Setting ulimits
Setting the ulimits for your Predictive Insights system.
Procedure
- Log in as a root user.
- If you use Red Hat Enterprise Linux 6, create a file named /etc/security/limits.d/90-nproc.conf and add the following lines. If you use Red Hat Enterprise Linux 7, create a file named /etc/security/limits.d/20-nproc.conf
-
Add the following lines to the file and save it:
* soft nproc 100000 * hard nproc 100000 - Log in as a root user.
-
If you use Red Hat Enterprise Linux 6, create a file named
/etc/security/limits.d/91-nofile.conf and add the following lines. If you use
Red Hat Enterprise Linux 7, create a file named
/etc/security/limits.d/nofile.conf.
If you use the /etc/security/limits.conf configuration file, the setting there will override the settings in the /etc/security/limits.d/nofile.conf file. Update the
nofilevalue in the /etc/security/limits.conf file. -
Add the following lines to the file and save it:
* soft nofile 100000 * hard nofile 100000 - Add the following lines to the .bashrc file
of the owner of the Analytics component (typically scadmin), so that
each new shell that user opens has these updated settings.
ulimit -u 100000 ulimit -n 100000