Skip to main content

mfsgui.cfg

Every option of mfsgui.cfg, the configuration file of the GUI server. 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​mfsguiName of process to place in syslog messages.
LOCK_MEMORY​0Whether to perform mlockall() to avoid swapping out mfsgui process (0, i.e. no).
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
SYSLOG_MIN_LEVEL​INFOMinimum level of messages that will be reported by gui server; 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).

Connection options​

Changes in this section require only process reload.

OptionDefaultDescription
GUISERV_LISTEN_HOST​*IP address to listen for web browsers connections (* means any).
GUISERV_LISTEN_PORT​9425Port to listen for web browsers connections.
GUISERV_TIMEOUT​300Http connection timeout, in seconds.

HTTP server options​

Changes in this section require only process reload.

OptionDefaultDescription
ROOT_DIR​/usr/share/mfscgiDocument root.
REQUESTS_FILE​requests.cfgRequests configuration file (absolute path or path relative to the ROOT_DIR); the content of this file should NEVER be modified by the user.