File: mfschunkserver.cfg.in

package info (click to toggle)
lizardfs 3.12.0+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 8,064 kB
  • sloc: cpp: 91,899; sh: 9,341; python: 3,878; ansic: 3,109; pascal: 128; makefile: 57
file content (146 lines) | stat: -rw-r--r-- 4,965 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# mfschunkserver.cfg(5)

## The label of this chunkserver (for tiering)
# LABEL = _

## User to run daemon as.
# WORKING_USER = @DEFAULT_USER@

## Group to run daemon as (if empty then default user group will be used).
# WORKING_GROUP = @DEFAULT_GROUP@

## Name of process to place in syslog messages (default is mfschunkserver)
# SYSLOG_IDENT = mfschunkserver

## Whether to perform mlockall() to avoid swapping out mfschunkserver.
## process, boolean (0 means "no").
## (Default: 0)
# LOCK_MEMORY = 0

## Nice level to run daemon with (default is -19 if possible).
# NICE_LEVEL = -19

## Where to store data files and daemon lock file:
## (Default: @DATA_PATH@)
# DATA_PATH = @DATA_PATH@

## Delay in seconds before reconnection attempt to the master server after
## disconnection.
## (Default: 5)
# MASTER_RECONNECTION_DELAY = 5

## Local address to use for connecting with the master server.
# BIND_HOST = *

## LizardFS master host to connect to.
## (Default: mfsmaster)
# MASTER_HOST = mfsmaster

## Master port to connect to (Default: 9420):
# MASTER_PORT = 9420

## Timeout (in seconds) for the master server connection (minimum is 0.01).
## (Default: 60)
# MASTER_TIMEOUT = 60

## IP address to listen on for client (mfsmount) connections:
# CSSERV_LISTEN_HOST = *

## Port to listen for client (mfsmount) connections.
## (Default: 9422)
# CSSERV_LISTEN_PORT = 9422

# NR_OF_NETWORK_WORKERS = 1
# NR_OF_HDD_WORKERS_PER_NETWORK_WORKER = 2
# BGJOBSCNT_PER_NETWORK_WORKER = 1000

# READ_AHEAD_KB = 0
# MAX_READ_BEHIND_KB = 0

## Name of volume configuration file.
## (Default: @ETC_PATH@/mfshdd.cfg)
# HDD_CONF_FILENAME = @ETC_PATH@/mfshdd.cfg

## Free space threshold to set volume as 100% utilized when there is less than given amount of free
## space left. This number is always added to the used disk space reported by chunkserver.
## (Default: 4GiB)
# HDD_LEAVE_SPACE_DEFAULT = 4GiB

## Chunk test period in seconds.
## (Default: 10)
# HDD_TEST_FREQ = 10

## Whether to remove each chunk from page when closing it to reduce cache pressure
## generated by chunkserver, boolean (0 means "no").
## (Default: 1)
# HDD_ADVISE_NO_CACHE = 1

## If enabled then chunkserver detects zero values in chunk data and frees
## corresponding file blocks (decreasing file system usage).
## This option works only on Linux
## with file systems supporting punching holes (XFS, ext4, Btrfs, tmpfs).
## (Default : 1)
# HDD_PUNCH_HOLES = 1

## If enabled, chunkserver will send periodical reports of its I/O load to master,
## which will be taken into consideration when picking chunkservers for I/O operations.
## (Default : 0)
# ENABLE_LOAD_FACTOR = 0

## Limit how many kilobytes can be replicated from other chunkservers to
## this chunkserver in every second (by default undefined, i.e. no limits)
# REPLICATION_BANDWIDTH_LIMIT_KBPS = 8192

## Number of threads which handle (in a round-robin manner) connections
## with clients; these threads are responsible for reading from
## sockets and coping data from internal buffers to sockets.
## (Default: 1)
# NR_OF_NETWORK_WORKERS = 1

## Number of threads that each network worker may use to do disk operations
## like opening chunks, reading or writing them
## (Default: 20)
# NR_OF_HDD_WORKERS_PER_NETWORK_WORKER = 20

## additional number of kilobytes which should be passed to
## posix_fadvise(POSIX_FADV_WILLNEED) before reading data from a chunk
## (Default: 0), i.e. use posix_fadvise only with the amount of data that is
##  really needed; the value is aligned down to 64 KiB.
# READ_AHEAD_KB = 0

## Try to fix out-of-order read requests; the value tells how much of
## skipped data to read if an offset of some read operation is greater than
## the offset where the previos operation finished
## (Default: 0), i.e. don't read any skipped data; the value is aligned down to 64 KiB.
# MAX_READ_BEHIND_KB = 0

## Whether to create new chunks in the MooseFS format
##    (signature + <checksum>* + <data block>*)
## or in the newer interleaved format
##    ([<checksum> <data block>]*).
## (Default: 1), i.e. new chunks are created in MooseFS format.
# CREATE_NEW_CHUNKS_IN_MOOSEFS_FORMAT = 1

## Call fsync() after a chunk is modified
## (Default: 1), i.e. enabled.
#PERFORM_FSYNC = 1


## deprecated, to be removed.
# BACK_LOGS = 50
# CSSERV_TIMEOUT = 5

## Replication bandwidth limit
# REPLICATION_BANDWIDTH_LIMIT_KBPS = 102400

## Total timeout for single replication operation. Replications that take longer than that
## are considered failed and are immediately aborted.
# REPLICATION_TOTAL_TIMEOUT_MS = 60000

## Connection for single replication operation. If connecting to another chunkserver takes longer
## than this timeout, the operation is considered failed and is immediately aborted.
# REPLICATION_CONNECTION_TIMEOUT_MS = 1000

## [ADVANCED] Timeout for single wave in replication. After this timeout, next wave
## of read requests is sent to other chunkservers.
# REPLICATION_WAVE_TIMEOUT_MS = 500