Dependencies

The server where HCL Detect is installed must be configured according to a few guidelines. In this section, we discuss both of these issues.

Operating System Configuration

The server (or servers) where Detect runs must be properly configured as far as certain OS and shell resource limits.

While these limits are going to be checked during installation, we will provide certain helpful guidelines in this section.

First, the number of file descriptors that can be used by a process must be equal to or greater than 640,000.

The soft and hard limits are defined as part of the OS configuration (defined in /etc/security/limits.conf) and used/enforced by the (Bash) shell.

In the shell, the soft limits for each of these resources (including the maximum number of open files) can be inspected as follows:

ulimit -Sa

And the hard limits as follows:

ulimit -Ha

Naturally neither limit can go beyond the OS limit that applies to the server.

If the current limit is too low for the current shell, but sufficient as far as the OS is concerned, you can update your local .bashrc raising the limit as follows:

ulimit -n 640000

Nevertheless, in most cases, after a fresh OS install, it is necessary to update /etc/security/limits.conf to meet Detect's needs.

We recommend that you consult your OS documentation, but usually the following settings can be added towards the end of the file (assuming you want the limits applied to all users):
*    soft    nofile 640000
*    hard    nofile 640000

# End of file
Similarly, make sure that the soft core and hard core values are not zero. If so, add these lines at the end of file as shown below.
* soft core unlimited
* hard core unlimited
Note: After applying these changes, a new login will be created with the userid that will be used inDetect (no reboot is necessary).