From 34833364e9839f0036bccd58ec0a8a963e69263e Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 24 Apr 2015 17:07:37 +0200 Subject: protocol: increase default group-cache-timeout to 300 seconds sssd uses 300 seconds by default too. There is no need to overload sssd with requests that it would have cached. BUG: 1215187 Change-Id: I3f04ea8cc90180d863253a9f46d62b71810a7b34 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/10371 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY Reviewed-by: Vijay Bellur --- xlators/mount/fuse/src/fuse-bridge.c | 2 +- xlators/nfs/server/src/nfs.c | 2 +- xlators/protocol/server/src/server.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 74a84902fa5..683146288ef 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -5685,7 +5685,7 @@ struct volume_options options[] = { }, { .key = {"gid-timeout"}, .type = GF_OPTION_TYPE_INT, - .default_value = "2" + .default_value = "300" }, { .key = {"acl"}, .type = GF_OPTION_TYPE_BOOL, diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index be84a1b649e..85af465ce7b 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -1962,7 +1962,7 @@ struct volume_options options[] = { .type = GF_OPTION_TYPE_INT, .min = 0, .max = 3600, - .default_value = "5", + .default_value = "300", .description = "Number of seconds to cache auxiliary-GID data, when " OPT_SERVER_AUX_GIDS " is set." }, diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index a148646e215..ca00dc09133 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -1353,7 +1353,7 @@ struct volume_options options[] = { }, { .key = {"gid-timeout"}, .type = GF_OPTION_TYPE_INT, - .default_value = "2", + .default_value = "300", .description = "Timeout in seconds for the cached groups to expire." }, { .key = {"event-threads"}, -- cgit