summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-01-06 12:36:58 +1100
committerAndrew Tridgell <tridge@samba.org>2008-01-06 12:36:58 +1100
commit4f5b717aa3a2a086641fa5eb41a41d821ef6f061 (patch)
treecf7a04444a4d761cffd1f2f9b699b1464bd154c4 /ctdb
parent108aafcdb283d609ab6d72decb198ab41ff30429 (diff)
downloadsamba-4f5b717aa3a2a086641fa5eb41a41d821ef6f061.tar.gz
samba-4f5b717aa3a2a086641fa5eb41a41d821ef6f061.tar.xz
samba-4f5b717aa3a2a086641fa5eb41a41d821ef6f061.zip
change default tunables to cope with larger dbs
(This used to be ctdb commit d91a2d43d1f0562cc3a12e6e1e2767f75d888f72)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_tunables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c
index 6c58e16aa1..246ce942cc 100644
--- a/ctdb/server/ctdb_tunables.c
+++ b/ctdb/server/ctdb_tunables.c
@@ -28,10 +28,10 @@ static const struct {
{ "SeqnumFrequency", 1, offsetof(struct ctdb_tunable, seqnum_frequency) },
{ "ControlTimeout", 60, offsetof(struct ctdb_tunable, control_timeout) },
{ "TraverseTimeout", 20, offsetof(struct ctdb_tunable, traverse_timeout) },
- { "KeepaliveInterval", 2, offsetof(struct ctdb_tunable, keepalive_interval) },
+ { "KeepaliveInterval", 5, offsetof(struct ctdb_tunable, keepalive_interval) },
{ "KeepaliveLimit", 5, offsetof(struct ctdb_tunable, keepalive_limit) },
{ "MaxLACount", 7, offsetof(struct ctdb_tunable, max_lacount) },
- { "RecoverTimeout", 5, offsetof(struct ctdb_tunable, recover_timeout) },
+ { "RecoverTimeout", 30, offsetof(struct ctdb_tunable, recover_timeout) },
{ "RecoverInterval", 1, offsetof(struct ctdb_tunable, recover_interval) },
{ "ElectionTimeout", 3, offsetof(struct ctdb_tunable, election_timeout) },
{ "TakeoverTimeout", 5, offsetof(struct ctdb_tunable, takeover_timeout) },