couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [couchdb] 03/04: doc: add snooze_period doc to default.ini
Date Mon, 05 Mar 2018 17:09:43 GMT
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch fix/compaction-daemon
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 0a6add8e9dca1933251b8cbb6f67f32de4628990
Author: Jan Lehnardt <jan@apache.org>
AuthorDate: Mon Mar 5 16:12:14 2018 +0100

    doc: add snooze_period doc to default.ini
---
 rel/overlay/etc/default.ini | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 892fc9a..ec3e223 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -438,6 +438,12 @@ check_interval = 3600
 ; compaction will not happen. Very small files always have a very high
 ; fragmentation therefore it's not worth to compact them.
 min_file_size = 131072
+; With lots of databases and/or with lots of design docs in one or more
+; databases, the compaction_daemon can create significant CPU load when
+; checking whether databases and view indexes need compacting. The
+; snooze_period setting ensures a smoother CPU load. Defaults to
+; 3 seconds wait.
+; snooze_period = 3
 
 [compactions]
 ; List of compaction rules for the compaction daemon.

-- 
To stop receiving notification emails like this one, please contact
jan@apache.org.

Mime
View raw message