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.
| Option | Default | Description |
|---|---|---|
mfs | User to run daemon as. | |
mfs | Group to run daemon as (optional - if empty then default user group will be used). | |
mfsmetalogger | Name of process to place in syslog messages. | |
0 | Whether to perform mlockall() to avoid swapping out mfsmetalogger process (0, i.e. no). | |
4 | Linux only: limit malloc arenas to given value - prevents server from using huge amount of virtual memory. | |
1 | Linux only: disable out of memory killer. | |
-19 | Nice 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). | |
027 | Set default umask for group and others (user has always 0, 027 - block write for group and block all for others). | |
/var/lib/mfs | Where to store daemon lock file. |
Runtime options
Changes in this section require only process reload.
| Option | Default | Description |
|---|---|---|
50 | Number of metadata change log files. | |
3 | Number of previous metadata files to be kept. | |
24 | Metadata download frequency in hours (at most BACK_LOGS/2). | |
INFO | Minimum level of messages that will be reported by metalogger; levels in order of importance: ERROR, WARNING, NOTICE, INFO, DEBUG. | |
NOTICE | Reported 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.
| Option | Default | Description |
|---|---|---|
5 | Delay in seconds before next try to reconnect to master if not connected. | |
| not set | Authentication string (used only when master requires authorization). | |
* | Local address to use for connecting with master (*, i.e. default local address). | |
mfsmaster | MooseFS master host, IP is allowed only in single-master installations. | |
9419 | MooseFS master supervisor port. | |
10 | Timeout in seconds for master connections. |