Comment 6 for bug 1900845

Revision history for this message
Dmitry (kozlovdmtry) wrote :

I have configured separate replication server processes, reduced concurrency, but still there are a lot of errors from ssync.receiver and ssync.sender. However all requests from proxy servers are successful and rsync replication works well. Disks are not very busy on sender and receiver.
Here is my config for replication server and replicator:

[DEFAULT]
bind_ip = 172.168.28.135
bind_port = 6010
workers = auto
devices = /import
client_timeout = 600
conn_timeout = 5

[pipeline:main]
pipeline = object-server

[app:object-server]
use = egg:swift#object
#replication_server = True
log_name = replication-server
log_facility = LOG_LOCAL4
log_level = DEBUG
log_address = /dev/log
replication_concurrency = 0
replication_concurrency_per_device = 0
replication_lock_timeout = 45

[object-replicator]
log_name = object-replicator
log_facility = LOG_LOCAL1
log_level = DEBUG
log_address = /dev/log
concurrency = 2
sync_method = ssync
rsync_timeout = 86400
rsync_bwlimit = 25m
node_timeout = 600
http_timeout = 31600
lockup_timeout = 87000
handoffs_first = True
handoff_delete = 2

BTW, if I set "replication_server = True" all PUT request from replication will fail with "405 Method not allowed"