Increasing the number of file handles on Linux™ workstations
About this task
Important: Before you install or upgrade your HCL product you must increase the number of file handles available. A system administrator must make this change.
Use caution when increase the allowed number of file descriptors on Linux™. Failure to follow the instructions can result in a computer that does not start correctly. For the best results, have your system administrator perform this procedure.
Procedure
To increase the file descriptor limit:
- Log in as root. If you do not have root access, you must obtain it before you can continue.
- Change to the /etc/security directory.
- Locate the limits.conf file. Open the file or create it with a Linux™ text editor.
- On the first line, set ulimit to a number larger than 1024,
the default on most Linux™ computers.
For example:
ulimit -n 4096
CAUTION: Setting ulimit too high can affect system-wide performance. - On the second line, type
eval exec "$4"
. - Save and close the shell script.
Red Hat
For Red Hat systems, follow a similar procedure, editing
the /etc/security/limits.conf file. In this file,
add lines similar to the following:
* soft nofile 16383
* hard nofile 16383