swift/etc/container-server.conf-sample

88 lines
2.5 KiB
Plaintext
Raw Normal View History

2010-08-20 00:42:38 +00:00
[DEFAULT]
2010-07-12 17:03:45 -05:00
# bind_ip = 0.0.0.0
# bind_port = 6001
# backlog = 4096
2010-07-12 17:03:45 -05:00
# workers = 1
# user = swift
2010-08-20 00:42:38 +00:00
# swift_dir = /etc/swift
# devices = /srv/node
# mount_check = true
# This is a comma separated list of hosts allowed in the X-Container-Sync-To
# field for containers.
# allowed_sync_hosts = 127.0.0.1
2011-01-23 13:18:28 -08:00
# You can specify default log routing here if you want:
# log_name = swift
# log_facility = LOG_LOCAL0
# log_level = INFO
# Normally Swift will try to preallocate disk space for new SQLite databases to
# decrease fragmentation (at the cost of disk usage). You may turn this feature
# off here.
# db_preallocation = on
2010-08-20 00:42:38 +00:00
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:swift#container
2011-01-23 13:18:28 -08:00
# You can override the default log routing for this app here:
# set log_name = container-server
# set log_facility = LOG_LOCAL0
# set log_level = INFO
# set log_requests = True
2010-07-12 17:03:45 -05:00
# node_timeout = 3
# conn_timeout = 0.5
# allow_versions = False
# auto_create_account_prefix = .
2010-07-12 17:03:45 -05:00
[container-replicator]
2011-01-23 13:18:28 -08:00
# You can override the default log routing for this app here (don't use set!):
# log_name = container-replicator
2011-01-23 13:18:28 -08:00
# log_facility = LOG_LOCAL0
# log_level = INFO
# vm_test_mode = no
2010-07-12 17:03:45 -05:00
# per_diff = 1000
# max_diffs = 100
2010-07-12 17:03:45 -05:00
# concurrency = 8
# interval = 30
2010-07-12 17:03:45 -05:00
# node_timeout = 10
# conn_timeout = 0.5
# The replicator also performs reclamation
# reclaim_age = 604800
# Time in seconds to wait between replication passes
# run_pause = 30
2010-07-12 17:03:45 -05:00
[container-updater]
2011-01-23 13:18:28 -08:00
# You can override the default log routing for this app here (don't use set!):
# log_name = container-updater
2011-01-23 13:18:28 -08:00
# log_facility = LOG_LOCAL0
# log_level = INFO
2010-07-12 17:03:45 -05:00
# interval = 300
# concurrency = 4
# node_timeout = 3
# conn_timeout = 0.5
# slowdown will sleep that amount between containers
# slowdown = 0.01
# Seconds to suppress updating an account that has generated an error
# account_suppression_time = 60
2010-07-12 17:03:45 -05:00
[container-auditor]
2011-01-23 13:18:28 -08:00
# You can override the default log routing for this app here (don't use set!):
# log_name = container-auditor
2011-01-23 13:18:28 -08:00
# log_facility = LOG_LOCAL0
# log_level = INFO
2010-07-12 17:03:45 -05:00
# Will audit, at most, 1 container per device per interval
# interval = 1800
2011-02-23 23:26:05 -08:00
[container-sync]
# You can override the default log routing for this app here (don't use set!):
# log_name = container-sync
# log_facility = LOG_LOCAL0
# log_level = INFO
2011-06-06 16:12:54 +00:00
# If you need to use an HTTP Proxy, set it here; defaults to no proxy.
# sync_proxy = http://127.0.0.1:8888
2011-02-23 23:26:05 -08:00
# Will sync, at most, each container once per interval
# interval = 300
2011-06-22 15:05:23 +00:00
# Maximum amount of time to spend syncing each container per pass
2011-02-23 23:26:05 -08:00
# container_time = 60