Setting ulimits

Setting the ulimits for your Predictive Insights system.

Procedure

  1. Log in as a root user.
  2. 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
  3. Add the following lines to the file and save it:
    
    *          soft      nproc     100000
    *          hard      nproc     100000
  4. Log in as a root user.
  5. 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 nofile value in the /etc/security/limits.conf file.

  6. Add the following lines to the file and save it:
    
    *          soft      nofile     100000
    *          hard      nofile     100000
  7. 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