Liberty - Liberty - Liberty - Liberty - Liberty - Liberty - Liberty - Liberty -
Find an example account server configuration at
etc/account-server.conf-sample
in
the source code repository.
The available configuration options are:
Configuration option = Default value | Description |
---|---|
backlog = 4096 |
Maximum number of allowed pending TCP connections |
bind_ip = 0.0.0.0 |
IP Address for server to bind to |
bind_port = 6002 |
Port for server to bind to |
bind_timeout = 30 |
Seconds to attempt bind before giving up |
db_preallocation = off |
If you don't mind the extra disk space usage in overhead, you can turn this on to preallocate disk space with SQLite databases to decrease fragmentation. underlying filesystem does not support it. to setup custom log handlers. bytes you'd like fallocate to reserve, whether there is space for the given file size or not. This is useful for systems that behave badly when they completely run out of space; you can make the services pretend they're out of space early. server. For most cases, this should be `egg:swift#account`. replication passes account can be reclaimed |
devices = /srv/node |
Parent directory of where devices are mounted |
disable_fallocate = false |
Disable "fast fail" fallocate checks if the underlying filesystem does not support it. |
eventlet_debug = false |
If true, turn on debug logging for eventlet |
fallocate_reserve = 0 |
You can set fallocate_reserve to the number of bytes you'd like fallocate to reserve, whether there is space for the given file size or not. This is useful for systems that behave badly when they completely run out of space; you can make the services pretend they're out of space early. server. For most cases, this should be `egg:swift#object`. |
log_address = /dev/log |
Location where syslog sends the logs to |
log_custom_handlers =
|
Comma-separated list of functions to call to setup custom log handlers. |
log_facility = LOG_LOCAL0 |
Syslog log facility |
log_level = INFO |
Logging level |
log_max_line_length = 0 |
Caps the length of log lines to the value given; no limit if set to 0, the default. |
log_name = swift |
Label used when logging |
log_statsd_default_sample_rate = 1.0 |
Defines the probability of sending a sample for any given event or timing measurement. |
log_statsd_host = localhost |
If not set, the StatsD feature is disabled. |
log_statsd_metric_prefix =
|
Value will be prepended to every metric sent to the StatsD server. |
log_statsd_port = 8125 |
Port value for the StatsD server. |
log_statsd_sample_rate_factor = 1.0 |
Not recommended to set this to a value less than 1.0, if frequency of logging is too high, tune the log_statsd_default_sample_rate instead. |
log_udp_host =
|
If not set, the UDP receiver for syslog is disabled. |
log_udp_port = 514 |
Port value for UDP receiver, if enabled. |
max_clients = 1024 |
Maximum number of clients one worker can process simultaneously Lowering the number of clients handled per worker, and raising the number of workers can lessen the impact that a CPU intensive, or blocking, request can have on other requests served by the same worker. If the maximum number of clients is set to one, then a given worker will not perform another call while processing, allowing other workers a chance to process it. |
mount_check = true |
Whether or not check if the devices are mounted to prevent accidentally writing to the root device |
swift_dir = /etc/swift |
Swift configuration directory |
user = swift |
User to run as |
workers = auto |
a much higher value, one can reduce the impact of slow file system operations in one request from negatively impacting other requests. |
Configuration option = Default value | Description |
---|---|
auto_create_account_prefix = . |
Prefix to use when automatically creating accounts |
replication_server = false |
If defined, tells server how to handle replication verbs in requests. When set to True (or 1), only replication verbs will be accepted. When set to False, replication verbs will be rejected. When undefined, server will accept any verb in the request. |
set log_address = /dev/log |
Location where syslog sends the logs to |
set log_facility = LOG_LOCAL0 |
Syslog log facility |
set log_level = INFO |
Log level |
set log_name = account-server |
Label to use when logging |
set log_requests = true |
Whether or not to log requests |
use = egg:swift#account |
Entry point of paste.deploy in the server |
Configuration option = Default value | Description |
---|---|
pipeline = healthcheck recon account-server |
No help text available for this option. |
Configuration option = Default value | Description |
---|---|
concurrency = 8 |
Number of replication workers to spawn |
conn_timeout = 0.5 |
Connection timeout to external services |
interval = 30 |
Minimum time for a pass to take |
log_address = /dev/log |
Location where syslog sends the logs to |
log_facility = LOG_LOCAL0 |
Syslog log facility |
log_level = INFO |
Logging level |
log_name = account-replicator |
Label used when logging |
max_diffs = 100 |
Caps how long the replicator spends trying to sync a database per pass |
node_timeout = 10 |
Request timeout to external services |
per_diff = 1000 |
Limit number of items to get per diff |
reclaim_age = 604800 |
Time elapsed in seconds before an object can be reclaimed |
recon_cache_path = /var/cache/swift |
Directory where stats for a few items will be stored |
rsync_compress = no |
No help text available for this option. |
rsync_module = {replication_ip}::account |
No help text available for this option. |
run_pause = 30 |
Time in seconds to wait between replication passes |
Configuration option = Default value | Description |
---|---|
accounts_per_second = 200 |
Maximum accounts audited per second. Should be tuned according to individual system specs. 0 is unlimited. |
interval = 1800 |
Minimum time for a pass to take |
log_address = /dev/log |
Location where syslog sends the logs to |
log_facility = LOG_LOCAL0 |
Syslog log facility |
log_level = INFO |
Logging level |
log_name = account-auditor |
Label used when logging |
recon_cache_path = /var/cache/swift |
Directory where stats for a few items will be stored |
Configuration option = Default value | Description |
---|---|
concurrency = 25 |
Number of replication workers to spawn |
conn_timeout = 0.5 |
Connection timeout to external services |
delay_reaping = 0 |
Normally, the reaper begins deleting account information for deleted accounts immediately; you can set this to delay its work however. The value is in seconds, 2592000 = 30 days, for example. bind to giving up worker can process simultaneously (it will actually accept(2) N + 1). Setting this to one (1) will only handle one request at a time, without accepting another request concurrently. By increasing the number of workers to a much higher value, one can reduce the impact of slow file system operations in one request from negatively impacting other requests. |
interval = 3600 |
Minimum time for a pass to take |
log_address = /dev/log |
Location where syslog sends the logs to |
log_facility = LOG_LOCAL0 |
Syslog log facility |
log_level = INFO |
Logging level |
log_name = account-reaper |
Label used when logging |
node_timeout = 10 |
Request timeout to external services |
reap_warn_after = 2592000 |
No help text available for this option. |
Configuration option = Default value | Description |
---|---|
disable_path =
|
No help text available for this option. |
use = egg:swift#healthcheck |
Entry point of paste.deploy in the server |
Configuration option = Default value | Description |
---|---|
recon_cache_path = /var/cache/swift |
Directory where stats for a few items will be stored |
use = egg:swift#recon |
Entry point of paste.deploy in the server |
Configuration option = Default value | Description |
---|---|
dump_interval = 5.0 |
No help text available for this option. |
dump_timestamp = false |
No help text available for this option. |
flush_at_shutdown = false |
No help text available for this option. |
log_filename_prefix = /tmp/log/swift/profile/default.profile |
No help text available for this option. |
path = /__profile__ |
No help text available for this option. |
profile_module = eventlet.green.profile |
No help text available for this option. |
unwind = false |
No help text available for this option. |
use = egg:swift#xprofile |
Entry point of paste.deploy in the server |