Skip to main content

mfsmetalogger.cfg

Configuration file for mfsmetalogger.

This page reproduces the manual page mfsmetalogger.cfg(5) as the product ships it: the text man mfsmetalogger.cfg prints on a machine where the packages are installed. It is not edited here, and where it disagrees with the rest of this documentation, the documentation is the side kept against the sources. What the subject is: mfsmetalogger.cfg.

Description​

The file mfsmetalogger.cfg contains configuration of MooseFS metalogger process.

Syntax​

Syntax is:

  • OPTION=VALUE

Lines starting with # character are ignored as comments.

STARTUP OPTIONS​

Changes in this section require process restart.

  • WORKING_USER
    user to run daemon as (default is mfs)

  • WORKING_GROUP
    group to run daemon as (optional - if empty then default user group will be used)

  • SYSLOG_IDENT
    name of process to place in syslog messages (default is mfsmetalogger)

  • LOCK_MEMORY
    whether to perform mlockall() to avoid swapping out mfsmetalogger process (default is 0, i.e. no)

  • LIMIT_GLIBC_MALLOC_ARENAS
    limit malloc arenas to given value - prevents server from using huge amount of virtual memory (Linux only, default is 4)

  • DISABLE_OOM_KILLER
    disable out of memory killer (Linux only, default is 1)

  • NICE_LEVEL
    nice level to run daemon with (default is -19 if possible; note: process must be started as root to increase priority)

  • FILE_UMASK
    set default umask for group and others; user has always 0; default is 027 - block write for group and block all for others

  • DATA_PATH
    where to store metadata files (default is /var/lib/mfs)

RUNTIME OPTIONS​

Changes in this section require only process reload.

  • BACK_LOGS
    number of metadata change log files (default is 50)

  • BACK_META_KEEP_PREVIOUS
    number of previous metadata files to be kept (default is 3)

  • META_DOWNLOAD_FREQ
    metadata download frequency in hours (default is 24, at most BACK_LOGS/2)

  • SYSLOG_MIN_LEVEL
    minimum level of messages that will be reported by metalogger; levels in order of importance: ERROR, WARNING, NOTICE, INFO, DEBUG (default is INFO)

  • SYSLOG_ELEVATE_TO
    reported messages of level lower than set by this option 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 ; default is NOTICE)

MASTER CONNECTION OPTIONS​

Changes in this section require only process reload.

  • MASTER_RECONNECTION_DELAY
    delay in seconds before trying to reconnect to master after disconnection (default is 5)

  • AUTH_CODE
    authentication string (used only when master requires authorization)

  • BIND_HOST
    local address to use for master connections; default is *, i.e. default local address

  • MASTER_HOST
    address of MooseFS master host to connect with (default is mfsmaster)

  • MASTER_PORT
    number of MooseFS master port to connect with (default is 9419)

  • MASTER_TIMEOUT
    timeout (in seconds) for master connections (default is 10)

See also​

mfsmetalogger(8)