From a8bc94c7e3363a27dd98c872132eb923d9ae7266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= Date: Tue, 21 Mar 2017 20:10:12 +0100 Subject: 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 --- doc/manpages/container-server.conf.5 | 4 +++- doc/manpages/object-server.conf.5 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/manpages') 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 -- cgit v1.2.1