public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL4 - dlm: Increase the lock_timeout
@ 2009-01-21 10:19 Christine Caulfield
  0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-01-21 10:19 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=0562c3607d70ee1e2a35c0e4b2c7c17bf26cface
Commit:        0562c3607d70ee1e2a35c0e4b2c7c17bf26cface
Parent:        fe92396a2237644cc75adc85472d332760d57782
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed Jan 21 10:10:34 2009 +0000
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Jan 21 10:10:34 2009 +0000

dlm: Increase the lock_timeout

The default lock_timeout of 30 seconds could cause some userspace applications
such as rgmanager or clvmd to fail if the system load was very high.

This patch increases the default timeout to two minutes in attempt to alleviate
these problems.

See bz#247766

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 dlm-kernel/src/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlm-kernel/src/config.c b/dlm-kernel/src/config.c
index b90d256..2858c4f 100644
--- a/dlm-kernel/src/config.c
+++ b/dlm-kernel/src/config.c
@@ -21,7 +21,7 @@
 /* Config file defaults */
 #define DEFAULT_TCP_PORT       21064
 #define DEFAULT_TCP_NODELAY        0
-#define DEFAULT_LOCK_TIMEOUT      30
+#define DEFAULT_LOCK_TIMEOUT     120
 #define DEFAULT_BUFFER_SIZE     4096
 #define DEFAULT_RSBTBL_SIZE      256
 #define DEFAULT_LKBTBL_SIZE     1024


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-21 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-21 10:19 cluster: RHEL4 - dlm: Increase the lock_timeout Christine Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).