Increase Number of File Handles in EBI Linux

Increase Number of File Handles in EBI Linux

TAGS: EXTOL Linux / EXTOL install /

A common error seen with EBI Linux installs are errors that are related to ‘Too Many Open Files’.

In a related post, we review what occurs when users incur the 'Too Many Open Files’ error:

To accommodate increasing the number of file handlers, EXTOL created Tech Memo: 2009071.

EXTOL recommends:

To determine the maximum number of file handles for the entire system, run:
cat /proc/sys/fs/file-max

To determine the current usage of file handles, run:
cat /proc/sys/fs/file-nr


Step 1
Change the maximum number of file handles can be changed to 70000 in the proc file system without reboot. For example:
# echo 70000 > /proc/sys/fs/file-max

Step 2 – (requires reboot to take effect)
To make the change permanent, add or change the following line in the file /etc/sysctl.conf. This file is used during the boot process:
# echo “fs.file-max=70000” >> /etc/sysctl.conf


There is also a limit of how many files any given process may have open at one time. You can change this value to 35000 by opening a terminal session with the user profile used to run the EBI server. Type the following command at the command prompt to see, per user, the open file limit:

ulimit -n
It probably will display 1024.

TASK - (requires reboot to take effect)
Change the open file limit to 35000 by performing the following:
- cd /etc/security
- vi or emacs limits.conf
- The format for adding an entry in this file is as follows:
<domain> <type> <item> <value>
- Add line:
ebi_user hard nofile 35000
- Where “ebi_user” is the user profile running the EBI server job


If you use VNC to access EBI, you will need to adjust how the VNC server job starts during the machine’s boot process so it picks up the changes made to the /etc/security/limits.conf file.

TASK (requires reboot to take effect)
Edit the /etc/rc.d/init.d/vncserver file and change how the VNC server is started:
- change the job startup process from “runuser” to “su”

For More EXTOL Business Integrator Tips

By: on

A free web counter provided by GoStats.