How to avoid Too many open files issue in SearchBlox in Linux OS

Too many open files issue is common when indexing multiple collections at a time in Linux OS SearchBlox. This occurs because by default 1024 files can be opened at a time in Linux.

This can be increased to 65000 using the steps below in order to avoid the issue.

Check the ulimit using the command below

ulimit -n

Edit the limits.conf file using the command below

vi /etc/security/limits.conf

and give the following in the file before the end of file

* soft nofile 65000
* hard nofile 65000

root soft nofile 65000
root hard nofile 65000

Save and exit

Logout and login to the Linux server

check the ulimit again

ulimit -n

which should be 65000


Have more questions? Submit a request