Skip to content

Increase Open file limit ​

On compute-heavy machines, Indexima will leverage the CPUs by opening and reading files simultaneously. This can cause crashes if you didn't set enough authorized file descriptors for the user.

To increase the maximum number of open files on a Linux machine, you must open the file usually located in /etc/security/limits.conf and add the following line:

bash
*        -     nofile  65536

You can check that the change has been made with the following command:

bash
ulimit -n

If you are starting Indexima with systemd, you need to add this line to your indexima.service file, under the [Service] block:

bash
LimitNOFILE=65536