Setting ulimit values

For proper operation, you must ensure that the correct ulimit values are set after you install Watson Explorer Content Analytics on AIX® or Linux® systems.

About this task

To allow Watson Explorer Content Analytics to use enough system resources, you must ensure that the following ulimit values are properly set:
Setting       Soft/Hard
NoFiles       32768/65536
Filesize      unlimited/unlimited
Data          unlimited/unlimited
Stack         unlimited/unlimited
Memory        unlimited/unlimited
Coredump      unlimited/unlimited

To verify the soft ulimit settings, run the command ulimit -aS.

To verify the hard ulimit settings, run the command ulimit -aH.

For AIX and Linux, the installation program attempts to set these ulimit settings for the administrator ID. Verify the settings and if they are not correct, set them to the correct values. In a multiple server configuration, you must verify and correct the ulimit settings on all servers.

In the following steps, admin_user_ID represents the administrator ID.

Procedure

To set ulimit values:

  1. To set or verify the ulimit values on AIX:
    1. Log in as the root user.
    2. Run the following commands:
      chuser nofiles=32768 nofiles_hard=65536 admin_user_ID
      chuser fsize=-1 fsize_hard=-1 admin_user_ID
      chuser data=-1 data_hard=-1 admin_user_ID
      chuser stack=-1 stack_hard=-1 admin_user_ID
      chuser rss=-1 rss_hard=-1 admin_user_ID
      chuser core=-1 core_hard=-1 admin_user_ID
    3. Log in as the admin_user_ID.
    4. Restart the system:
      esadmin system stopall
      esadmin system startall
  2. To set or verify the ulimit values on Linux:
    1. Log in as the root user.
    2. Edit the /etc/security/limits.conf file and specify the following values:
      admin_user_ID soft nofile 32768
      admin_user_ID hard nofile 65536
      admin_user_ID soft fsize unlimited
      admin_user_ID hard fsize unlimited
      admin_user_ID soft data unlimited
      admin_user_ID hard data unlimited
      admin_user_ID soft stack unlimited
      admin_user_ID hard stack unlimited
      admin_user_ID soft rss unlimited
      admin_user_ID hard rss unlimited
      admin_user_ID soft core unlimited
      admin_user_ID hard core unlimited
    3. Log in as the admin_user_ID.
    4. Restart the system:
      esadmin system stopall
      esadmin system startall