diff options
author | Ondřej Nový <novy@ondrej.org> | 2017-03-21 20:10:12 +0100 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2017-06-16 19:22:00 +0000 |
commit | a8bc94c7e3363a27dd98c872132eb923d9ae7266 (patch) | |
tree | 645a1fead653b5cb20acf7336c2ee9515cbe1a2a /doc/manpages | |
parent | 55075ea8be30e92446a245c9871bfa89fb8145ba (diff) | |
download | swift-a8bc94c7e3363a27dd98c872132eb923d9ae7266.tar.gz |
Replace slowdown option with *_per_second option
container and object updaters sleeps "slowdown" (default 0.01) seconds
after every processed container/object. Because time.sleep call adds overhead,
use ratelimit_sleep from common.utils instead. Same as in auditor.
Change-Id: I362aa0f13c78ad03ce1f76ee0257b0646f981212
Diffstat (limited to 'doc/manpages')
-rw-r--r-- | doc/manpages/container-server.conf.5 | 4 | ||||
-rw-r--r-- | doc/manpages/object-server.conf.5 | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/manpages/container-server.conf.5 b/doc/manpages/container-server.conf.5 index a904d8610..730d61c6f 100644 --- a/doc/manpages/container-server.conf.5 +++ b/doc/manpages/container-server.conf.5 @@ -358,8 +358,10 @@ Number of reaper workers to spawn. The default is 4. Request timeout to external services. The default is 3 seconds. .IP \fBconn_timeout\fR Connection timeout to external services. The default is 0.5 seconds. +.IP \fBcontainers_per_second\fR +Maximum containers updated per second. Should be tuned according to individual system specs. 0 is unlimited. The default is 50. .IP \fBslowdown\fR -Slowdown will sleep that amount between containers. The default is 0.01 seconds. +Slowdown will sleep that amount between containers. The default is 0.01 seconds. Deprecated in favor of containers_per_second .IP \fBaccount_suppression_time\fR Seconds to suppress updating an account that has generated an error. The default is 60 seconds. .IP \fBrecon_cache_path\fR diff --git a/doc/manpages/object-server.conf.5 b/doc/manpages/object-server.conf.5 index 0705a3ca9..f50ba3daa 100644 --- a/doc/manpages/object-server.conf.5 +++ b/doc/manpages/object-server.conf.5 @@ -500,8 +500,10 @@ Minimum time for a pass to take. The default is 300 seconds. Number of reaper workers to spawn. The default is 1. .IP \fBnode_timeout\fR Request timeout to external services. The default is 10 seconds. +.IP \fBobjects_per_second\fR +Maximum objects updated per second. Should be tuned according to individual system specs. 0 is unlimited. The default is 50. .IP \fBslowdown\fR -Slowdown will sleep that amount between objects. The default is 0.01 seconds. +Slowdown will sleep that amount between objects. The default is 0.01 seconds. Deprecated in favor of objects_per_second. .IP "\fBrecon_cache_path\fR" The recon_cache_path simply sets the directory where stats for a few items will be stored. Depending on the method of deployment you may need to create this directory manually |