Skip to main content

mfsmetalogger.cfg

Every option of mfsmetalogger.cfg, the configuration file of a Metalogger. Lines starting with # are comments, and one line sets one option:

OPTION = VALUE

An option the file does not set takes the default value from this table. A dash stands for an option with no default: what it configures stays off until you set it.

A path, a user name or a port number below is the value the packages are built with. If you build MooseFS yourself, configure sets that value. See values set at build time.

Startup options​

Changes in this section require process restart.

OptionDefaultDescription
WORKING_USER​mfsUser to run daemon as.
WORKING_GROUP​mfsGroup to run daemon as (optional - if empty then default user group will be used).
SYSLOG_IDENT​mfsmetaloggerName of process to place in syslog messages.
LOCK_MEMORY​0Whether to perform mlockall() to avoid swapping out mfsmetalogger process (0, i.e. no).
LIMIT_GLIBC_MALLOC_ARENAS​4Linux only: limit malloc arenas to given value - prevents server from using huge amount of virtual memory.
DISABLE_OOM_KILLER​1Linux only: disable out of memory killer.
NICE_LEVEL​-19Nice level to run daemon with (note: process must be started as root to increase priority, if setting of priority fails, process retains the nice level it started with).
FILE_UMASK​027Set default umask for group and others (user has always 0, 027 - block write for group and block all for others).
DATA_PATH​/var/lib/mfsWhere to store daemon lock file.

Runtime options​

Changes in this section require only process reload.

OptionDefaultDescription
BACK_LOGS​50Number of metadata change log files.
BACK_META_KEEP_PREVIOUS​3Number of previous metadata files to be kept.
META_DOWNLOAD_FREQ​24Metadata download frequency in hours (at most BACK_LOGS/2).
SYSLOG_MIN_LEVEL​INFOMinimum level of messages that will be reported by metalogger; levels in order of importance: ERROR, WARNING, NOTICE, INFO, DEBUG.
SYSLOG_ELEVATE_TO​NOTICEReported messages of level lower than set here will be elevated to this level (i.e. if SYSLOG_MIN_LEVEL is set to DEBUG and SYSLOG_ELEVATE_TO is set to NOTICE, all INFO and DEBUG messages will be sent to syslog as NOTICE).

Master connection options​

Changes in this section require only process reload.

OptionDefaultDescription
MASTER_RECONNECTION_DELAY​5Delay in seconds before next try to reconnect to master if not connected.
AUTH_CODE​not setAuthentication string (used only when master requires authorization).
BIND_HOST​*Local address to use for connecting with master (*, i.e. default local address).
MASTER_HOST​mfsmasterMooseFS master host, IP is allowed only in single-master installations.
MASTER_PORT​9419MooseFS master supervisor port.
MASTER_TIMEOUT​10Timeout in seconds for master connections.