diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2011-08-20 23:00:24 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2011-08-20 23:00:24 +0000 |
commit | ac0946a7d39675f2f86a998eafda1c7262843abc (patch) | |
tree | 2fe508b7f7f945f938cd22902424bd4da62a320f /bin | |
parent | fbac8ab488e48c5c6e892aefe074723ff52842a2 (diff) | |
download | couchdb-ac0946a7d39675f2f86a998eafda1c7262843abc.tar.gz |
Add configurable automatic compaction
A set of rules can now be defined in order to automatically
trigger the compaction of databases and their views. This
configuration can be global or overrided for specific
databases. By default it's disabled. Enabling it can be
done via the .ini configuration by simply adding global
or database specific compaction rules.
Closes COUCHDB-1153.
Thanks everyone involved who gave feedback and suggestions
for improvements.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1159922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
-rw-r--r-- | bin/couchdb.tpl.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in index 370bdb4a2..eab27b5db 100644 --- a/bin/couchdb.tpl.in +++ b/bin/couchdb.tpl.in @@ -15,7 +15,12 @@ BACKGROUND=false DEFAULT_CONFIG_DIR=%localconfdir%/default.d DEFAULT_CONFIG_FILE=%localconfdir%/%defaultini% -ERL_START_OPTIONS="-sasl errlog_type error +K true +A 4" +ERL_OS_MON_OPTIONS="-os_mon \ + start_memsup false \ + start_cpu_sup false \ + disk_space_check_interval 1 \ + disk_almost_full_threshold 1" +ERL_START_OPTIONS="$ERL_OS_MON_OPTIONS -sasl errlog_type error +K true +A 4" HEART_BEAT_TIMEOUT=11 HEART_COMMAND="%bindir%/%couchdb_command_name% -k" INTERACTIVE=false |