LEIL-METALOGGER.CFG(5)

πŸ“¦ version 5.12.0, in nixpkgs unstable

πŸ’– leil-metalogger.cfg β€” the config file for leil-metalogger (section 5 of the manual, bestie) πŸ’–

Okay so picture this: it's giving "one little text file runs the whole metalogger situation." This is the manpage for leil-metalogger.cfg, and it's literally just the config file for the LeilFS metalogger process. That's it, that's the vibe. 🫢


✨ DESCRIPTION ✨

The file leil-metalogger.cfg contains the configuration of the LeilFS metalogger process. One file, all the settings, main character energy. πŸ‘‘


🌸 SYNTAX 🌸

The syntax is, and I cannot stress this enough, extremely simple:

OPTION = VALUE

And listen: lines starting with the # character are ignored. So go ahead, leave yourself little love notes in there, they don't count. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

Here's the configuration option lineup, no skips, no cuts:

  • DATA_PATH β€” where to store metadata files πŸ“
  • WORKING_USER β€” the user to run the daemon as
  • WORKING_GROUP β€” the group to run the daemon as. This one's optional β€” if it's empty, the default user group gets used instead. ✨
  • SYSLOG_IDENT β€” the name of the process that shows up in syslog messages (default is leil-metalogger)
  • LOCK_MEMORY β€” whether to perform mlockall() so the leil-metalogger process doesn't get swapped out (default is 0, i.e. no) πŸ”’
  • LIMIT_GLIBC_MALLOC_ARENAS β€” Linux only! Limits glibc malloc arenas to the given value β€” prevents it from using a huge amount of virtual memory. Heads up though, this can influence performance: it reduces memory fragmentation and improves cache locality, but it can also lead to contention and reduced parallelism in multi-threaded applications. Use it in constrained memory environments; recommended values are 4 or 8. (Default is 0: disabled, or let glibc decide.) 🧠
  • NICE_LEVEL β€” the nice level to run the daemon with (default is -19 if possible β€” note: the process must be started as root to increase priority) πŸ”₯
  • 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)
  • MASTER_HOST β€” address of the LeilFS master host to connect with (default is sfsmaster)
  • MASTER_PORT β€” number of the LeilFS master port to connect with (default is 9419)
  • MASTER_RECONNECTION_DELAY β€” delay in seconds before trying to reconnect to the master after a disconnection (default is 30) ⏳
  • MASTER_TIMEOUT β€” timeout (in seconds) for master connections (default is 60)
  • LOG_LEVEL β€” sets up logging. It uses the environment variable SAUNAFS_LOG_LEVEL or the config value LOG_LEVEL to determine the logging level. Valid log levels are:
    • trace
    • debug
    • info
    • warn or warning
    • err or error
    • crit or critical
    • off
  • TLS_CERT_FILE (EXPERIMENTAL) β€” path to the TLS certificate file the metalogger will use for TLS connections (there is no default value) πŸ”
  • TLS_KEY_FILE (EXPERIMENTAL) β€” path to the TLS private key file the metalogger will use for TLS connections (there is no default value) πŸ—οΈ
  • TLS_CA_CERT_FILE (EXPERIMENTAL) β€” path to the trusted CA certificate which is used to authenticate the TLS connection (there is no default value) πŸ›‘οΈ

πŸ› REPORTING BUGS πŸ›

Found a bug? Report it to the GitHub repository at https://github.com/leil-io/leilfs as an issue. Be a good citizen, file the issue, we love that for you. πŸ’–


Copyright 2008-2009 Gemius SA

Copyright 2013-2019 Skytechnology sp. z o.o.

Copyright 2023-2024 Leil Storage OÜ

LeilFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.

LeilFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with LeilFS. If not, see http://www.gnu.org/licenses/.


πŸ‘€ SEE ALSO πŸ‘€

leil-metalogger(8) β€” the actual daemon this whole config file is for, go read it next bestie πŸ’œ


And that's the whole page! This one's dated 1980-01-01 (yes, iconic, timeless, literally a legend) and it's part of the LEIL-METALOGGER.CFG(5) manual section β€” mwah, go configure something gorgeous. πŸŽ€πŸŒˆβ­

πŸ“¦ where this page comes from