You are here

Setting file limits for Linux

When running SkyVault on Red Hat Linux, if you encounter a "Too many open files" error message, you must increase the file limits setting.
These steps assumes that SkyVault is running as the SkyVault user.
  1. Edit the following file:

    /etc/security/limits.conf

  2. Add the following settings:

    SkyVault soft nofile 4096
    SkyVault hard nofile 65536

    This sets the normal number of file handles available to the SkyVault user to be 4096. This is known as the soft limit.

  3. As the SkyVault user, set a system-level setting for Linux, up to the hard limit, using the following command:

    ulimit -n 8192