Comment 3 for bug 1834649

Revision history for this message
simon (simon.yu) wrote :

[DEFAULT]
# bind_ip = 0.0.0.0
bind_port = 6005
user = swift
workers = 10
fallocate_reserve = 1%
conn_timeout = 30
# network_chunk_size = 65536
# disk_chunk_size = 65536
log_facility = LOG_LOCAL2
# You can enable StatsD logging here:
#log_statsd_host = 127.0.0.1
#log_statsd_port = 8125
#log_statsd_default_sample_rate = 1.0
#log_statsd_sample_rate_factor = 1.0
#log_statsd_metric_prefix =

[pipeline:main]
pipeline = healthcheck recon object-server

[app:object-server]
use = egg:swift#object
max_upload_time = 360
eventlet_tpool_num_threads = 20

# Set to restrict the number of concurrent incoming SSYNC requests
# Set to 0 for unlimited
# Note that SSYNC requests are only used by the object reconstructor or the
# object replicator when configured to use ssync.
# replication_concurrency = 4

# Set to restrict the number of concurrent incoming SSYNC requests per
# device; set to 0 for unlimited requests per device. This can help control
# I/O to each device. This does not override replication_concurrency described
# above, so you may need to adjust both parameters depending on your hardware
# or network capacity.
# replication_concurrency_per_device = 1

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:recon]
use = egg:swift#recon

# 30分钟
[object-replicator]
interval = 1800
concurrency = 2
rsync_module = {replication_ip}::object{replication_port}
rsync_timeout = 18000
rsync_bwlimit = 1024
# 30分钟
[object-reconstructor]
interval = 1800
concurrency = 2

# 30分钟
[object-updater]
interval = 1800000
concurrency = 2

# 30分钟
[object-auditor]
interval = 3600
files_per_second = 10
concurrency = 1
# bytes_per_second = 10000000
# zero_byte_files_per_second = 50