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.
* soft nofile 640000
* hard nofile 640000
# End of file
* soft core unlimited
* hard core unlimited