ArangoDB Server environment variables
arangod inspects the following list of environment variables:
ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY(introduced in v3.6.3)
This variable can be used to override the automatic detection of the total amount of RAM present on the system. One can specify a decimal number (in bytes). Furthermore, if
gis appended, the value is multiplied by
mis appended, the value is multiplied by
kis appended, the value is multiplied by
2^10. That is,
64Gmeans 64 gigabytes.
The total amount of RAM detected is logged as an INFO message at server start. If the variable is set, the overridden value is shown. Various default sizes are calculated based on this value (e.g. RocksDB buffer cache size).
Setting this option can in particular be useful in two cases:
arangodis running in a container and its cgroup has a RAM limitation, then one should specify this limitation in this environment variable, since it is currently not automatically detected.
arangodis running alongside other services on the same machine and thus sharing the RAM with them, one should limit the amount of memory using this environment variable.
ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES(introduced in v3.7.1)
This variable can be used to override the automatic detection of the number of CPU cores present on the system.
The number of CPU cores detected is logged as an INFO message at server start. If the variable is set, the overridden value is shown. Various default values for threading are calculated based on this value.
Setting this option is useful if
arangodis running in a container or alongside other services on the same machine and shall not use all available CPUs.
ARANGODB_OVERRIDE_CRASH_HANDLER(introduced in v3.7.1)
This variable can be used to toggle the built-in crash handler in the Linux builds of
arangod. The crash handler is turned on by default for Linux builds, and it can be turned off by setting this environment variable to an empty string, the value of
TZ_DATA(introduced in v3.8.0)
This variable can be used to specify the path to the directory containing the timezone information database for ArangoDB. That directory is normally named
tzdataand is shipped with ArangoDB releases. It is normally not required to set this environment variable, but it may be necessary in unusual setups with non-conventional directory layouts and paths.
Path to a directory with stopword files for ArangoSearch Text Analyzers.
For Docker specific environment variables please refer to Docker Hub