summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-20 21:43:41 +0100
committerMichael Adam <obnox@samba.org>2011-03-14 13:35:48 +0100
commit61af2b4a1d76b6ab7e1341b1ec089da791b97a61 (patch)
tree43d7bd319539ddc5dc07071b1d7afbf9bb1dabbb
parentc95b4f841bdbe355d74a8c24fc55bcabcbcec315 (diff)
downloadsamba-61af2b4a1d76b6ab7e1341b1ec089da791b97a61.tar.gz
samba-61af2b4a1d76b6ab7e1341b1ec089da791b97a61.tar.xz
samba-61af2b4a1d76b6ab7e1341b1ec089da791b97a61.zip
vacuum: change all Vacuum*Interval tunables to default to 10
So, by default we have a fastpath vacuuming every 10 seconds and full blown db-traverse vacuuming once every 10 minutes. (This used to be ctdb commit 4f0ace982dbb5b4f9c035dbf4cb0ae74cd18d81b)
-rw-r--r--ctdb/server/ctdb_tunables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index 00ab899146..52fc22a364 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -56,12 +56,12 @@ static const struct {
{ "RecLockLatencyMs", 1000, offsetof(struct ctdb_tunable, reclock_latency_ms) },
{ "RecoveryDropAllIPs", 120, offsetof(struct ctdb_tunable, recovery_drop_all_ips) },
{ "VerifyRecoveryLock", 1, offsetof(struct ctdb_tunable, verify_recovery_lock) },
- { "VacuumDefaultInterval", 300, offsetof(struct ctdb_tunable, vacuum_default_interval) },
+ { "VacuumDefaultInterval", 10, offsetof(struct ctdb_tunable, vacuum_default_interval) },
{ "VacuumMaxRunTime", 30, offsetof(struct ctdb_tunable, vacuum_max_run_time) },
{ "RepackLimit", 10000, offsetof(struct ctdb_tunable, repack_limit) },
{ "VacuumLimit", 5000, offsetof(struct ctdb_tunable, vacuum_limit) },
- { "VacuumMinInterval", 60, offsetof(struct ctdb_tunable, vacuum_min_interval) },
- { "VacuumMaxInterval", 600, offsetof(struct ctdb_tunable, vacuum_max_interval) },
+ { "VacuumMinInterval", 10, offsetof(struct ctdb_tunable, vacuum_min_interval) },
+ { "VacuumMaxInterval", 10, offsetof(struct ctdb_tunable, vacuum_max_interval) },
{ "VacuumFastPathCount", 60, offsetof(struct ctdb_tunable, vacuum_fast_path_count) },
{ "MaxQueueDropMsg", 1000000, offsetof(struct ctdb_tunable, max_queue_depth_drop_msg) },
{ "UseStatusEvents", 0, offsetof(struct ctdb_tunable, use_status_events_for_monitoring) },