Linux requirements

For security and stability, do NOT install OnePart on the root directory, nor run OnePart as the root user.

This page discusses:

Requirements

The Linux-based PC server must meet the following requirements:

  • The server must be up-to-date with all operating system patches.

  • Data files must reside on an EXT3, EXT4 or XFS file system.

  • The VM space should be unlimited. Verify the current value in the console: ulimit -v

  • The numbers of threads should be at least 2048. For example, nproc > 4096. See Increase the nproc limit.

  • The hard limit for maximum number of file descriptors per process should be at least 32768. If you receive the "Too many open files in system" error, modify the ulimit as described in the Increase the nofile limit.

  • To index documents correctly in Linux installations that do not use UTF8, such as C and ISO-8859-1, set the LANG environment variable to UTF-8 encoding.

    For example:

    • for American English: $ export LANG=en_US.UTF-8

    • for French: $ export LANG=fr_FR.UTF-8

    • for Japanese: $ export LANG=ja_JP.UTF-8

    Note: We recommend en_US.UTF-8 encoding for reporting purposes.

Increase the nproc limit

  1. To find out the current nproc value, in the console type: ulimit -H -u
  2. Add the following line to /etc/security/limits.conf (global config file): * hard nproc   4096
Important: In Red Hat 6, the limits must also be set in any file located in /etc/security/limits.d/*.conf and /etc/security/limits.conf

Increase the nofile limit

  1. To find out the current value, in the console type: ulimit -H -n.
  2. Add the following line to /etc/security/limits.conf: * hard nofile      32768